{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "10000\n",
      "19 2\n",
      "1000001111011110100\n",
      "5 1\n",
      "10010\n",
      "9 4\n",
      "001011110\n",
      "7 1\n",
      "1001100\n",
      "16 4\n",
      "0011101111100101\n",
      "6 2\n",
      "000000\n",
      "20 3\n",
      "11010010011001111011\n",
      "7 2\n",
      "1100111\n",
      "12 4\n",
      "011100110010\n",
      "7 3\n",
      "0111000\n",
      "2 1\n",
      "01\n",
      "16 2\n",
      "1101001001010011\n",
      "9 1\n",
      "100001011\n",
      "9 4\n",
      "111010001\n",
      "15 4\n",
      "001010000100111\n",
      "18 3\n",
      "110111011100100100\n",
      "9 3\n",
      "000101110\n",
      "10 1\n",
      "0100001110\n",
      "7 3\n",
      "1101110\n",
      "2 3\n",
      "10\n",
      "4 2\n",
      "0011\n",
      "5 3\n",
      "11010\n",
      "4 2\n",
      "1100\n",
      "4 3\n",
      "1010\n",
      "18 1\n",
      "100110001110011110\n",
      "17 1\n",
      "10100110101111010\n",
      "12 3\n",
      "010100010111\n",
      "10 4\n",
      "1011011100\n",
      "7 3\n",
      "1000110\n",
      "4 1\n",
      "1011\n",
      "15 4\n",
      "011110011110111\n",
      "16 1\n",
      "0111011000100000\n",
      "13 2\n",
      "0010011010000\n",
      "16 1\n",
      "0010000001111111\n",
      "5 3\n",
      "00001\n",
      "17 4\n",
      "11011101101000011\n",
      "6 3\n",
      "001011\n",
      "18 1\n",
      "101011001000100100\n",
      "17 4\n",
      "00001001100011010\n",
      "11 3\n",
      "01010111110\n",
      "16 2\n",
      "1011110110001011\n",
      "7 3\n",
      "1011101\n",
      "3 1\n",
      "111\n",
      "13 3\n",
      "0111100100001\n",
      "7 4\n",
      "1110100\n",
      "2 1\n",
      "00\n",
      "10 3\n",
      "0011000100\n",
      "5 3\n",
      "10100\n",
      "18 3\n",
      "111110110110000011\n",
      "18 2\n",
      "111111100111001100\n",
      "8 1\n",
      "00101010\n",
      "18 4\n",
      "000011110101000100\n",
      "13 1\n",
      "0110011101100\n",
      "3 4\n",
      "101\n",
      "9 3\n",
      "010010001\n",
      "13 2\n",
      "0101010111111\n",
      "10 2\n",
      "0000000011\n",
      "18 2\n",
      "100001101100011100\n",
      "15 2\n",
      "010010110000111\n",
      "14 1\n",
      "11100100111111\n",
      "8 2\n",
      "10010011\n",
      "20 4\n",
      "00110101110010111111\n",
      "8 4\n",
      "00101110\n",
      "16 4\n",
      "1011101011000001\n",
      "5 3\n",
      "01101\n",
      "18 4\n",
      "010001001001001100\n",
      "13 1\n",
      "1001001011111\n",
      "14 4\n",
      "10000001101001\n",
      "6 2\n",
      "101011\n",
      "10 1\n",
      "1110011010\n",
      "2 3\n",
      "10\n",
      "18 3\n",
      "001101010100110011\n",
      "16 3\n",
      "0011001011101100\n",
      "9 2\n",
      "110110001\n",
      "19 3\n",
      "1011100110011100011\n",
      "8 1\n",
      "10101100\n",
      "9 3\n",
      "011011001\n",
      "9 4\n",
      "000110100\n",
      "14 4\n",
      "00110000011110\n",
      "13 3\n",
      "1000101010111\n",
      "12 4\n",
      "011000101011\n",
      "4 4\n",
      "0101\n",
      "3 2\n",
      "000\n",
      "10 2\n",
      "0001001111\n",
      "17 2\n",
      "11101101110100110\n",
      "6 4\n",
      "100000\n",
      "10 3\n",
      "0101011000\n",
      "12 3\n",
      "110010000111\n",
      "18 4\n",
      "010000010111110100\n",
      "5 3\n",
      "10111\n",
      "8 3\n",
      "00100100\n",
      "20 4\n",
      "10010011100100000100\n",
      "19 3\n",
      "0010111110001101110\n",
      "10 4\n",
      "1001111010\n",
      "2 4\n",
      "00\n",
      "18 2\n",
      "010000001101010010\n",
      "10 1\n",
      "0001110110\n",
      "3 1\n",
      "010\n",
      "4 2\n",
      "0001\n",
      "18 2\n",
      "001000100101100100\n",
      "3 2\n",
      "001\n",
      "12 1\n",
      "011001010011\n",
      "16 2\n",
      "1011000010011011\n",
      "18 1\n",
      "101001110101101110\n",
      "2 4\n",
      "01\n",
      "16 1\n",
      "1011010111011111\n",
      "9 1\n",
      "101100111\n",
      "9 2\n",
      "011010000\n",
      "7 3\n",
      "0000101\n",
      "8 1\n",
      "00101111\n",
      "6 2\n",
      "111110\n",
      "18 1\n",
      "011010000101101101\n",
      "15 2\n",
      "010111010100110\n",
      "2 3\n",
      "10\n",
      "2 2\n",
      "11\n",
      "12 1\n",
      "111101011011\n",
      "14 2\n",
      "00011011110100\n",
      "13 2\n",
      "0010110010101\n",
      "3 3\n",
      "000\n",
      "14 4\n",
      "10000000111111\n",
      "14 2\n",
      "00010101110011\n",
      "19 1\n",
      "0110110011111111001\n",
      "4 1\n",
      "0100\n",
      "9 1\n",
      "001111101\n",
      "19 2\n",
      "0110010111110111111\n",
      "12 3\n",
      "011000111001\n",
      "18 2\n",
      "100110001111110101\n",
      "2 3\n",
      "00\n",
      "5 3\n",
      "00101\n",
      "2 2\n",
      "10\n",
      "20 1\n",
      "00100011001001110001\n",
      "9 3\n",
      "010001101\n",
      "19 1\n",
      "0100011011100111010\n",
      "15 4\n",
      "100101001111000\n",
      "5 3\n",
      "11101\n",
      "6 1\n",
      "101101\n",
      "17 2\n",
      "00001101000001101\n",
      "20 1\n",
      "00001111110010011010\n",
      "5 3\n",
      "10001\n",
      "11 4\n",
      "10011010111\n",
      "15 4\n",
      "010000100011010\n",
      "10 3\n",
      "0100110100\n",
      "13 1\n",
      "1010110011010\n",
      "6 4\n",
      "100100\n",
      "14 1\n",
      "10101101001100\n",
      "19 1\n",
      "0100001111001011000\n",
      "5 1\n",
      "11100\n",
      "10 3\n",
      "0110110010\n",
      "14 2\n",
      "11101110001100\n",
      "3 4\n",
      "011\n",
      "20 3\n",
      "00110111100001011000\n",
      "20 2\n",
      "00111101110101011001\n",
      "13 1\n",
      "1011010111100\n",
      "3 2\n",
      "101\n",
      "13 3\n",
      "0101000101001\n",
      "19 2\n",
      "0100000010100011010\n",
      "20 2\n",
      "11010000011001011100\n",
      "8 2\n",
      "10000011\n",
      "12 3\n",
      "101111111111\n",
      "9 1\n",
      "110000011\n",
      "12 1\n",
      "101110111001\n",
      "13 3\n",
      "1101010000000\n",
      "14 3\n",
      "00111110110111\n",
      "4 4\n",
      "1011\n",
      "9 3\n",
      "100000110\n",
      "7 2\n",
      "1010111\n",
      "13 4\n",
      "1011111111010\n",
      "7 1\n",
      "0100100\n",
      "16 3\n",
      "1100101101011101\n",
      "13 3\n",
      "0100011011011\n",
      "3 4\n",
      "000\n",
      "19 4\n",
      "1100101010001111010\n",
      "17 2\n",
      "11111011101101001\n",
      "14 2\n",
      "01011011000001\n",
      "11 3\n",
      "10011011010\n",
      "5 1\n",
      "00110\n",
      "19 3\n",
      "0111110100101011010\n",
      "16 3\n",
      "1110000101011000\n",
      "2 4\n",
      "00\n",
      "20 1\n",
      "11100110001010001101\n",
      "14 3\n",
      "11110001000000\n",
      "5 2\n",
      "01001\n",
      "12 4\n",
      "011000111010\n",
      "5 1\n",
      "01100\n",
      "3 3\n",
      "111\n",
      "16 3\n",
      "1000011110010110\n",
      "17 1\n",
      "10101101110000000\n",
      "16 1\n",
      "0101110001101100\n",
      "15 1\n",
      "011000110110000\n",
      "12 1\n",
      "100100010011\n",
      "17 1\n",
      "10010010111101011\n",
      "17 1\n",
      "11111101101011001\n",
      "11 1\n",
      "00101011000\n",
      "15 2\n",
      "101001100001100\n",
      "4 2\n",
      "1001\n",
      "17 3\n",
      "01100011011001100\n",
      "15 3\n",
      "111001001000001\n",
      "20 3\n",
      "11111000101100010110\n",
      "17 3\n",
      "10011001110110010\n",
      "16 1\n",
      "1010010011101001\n",
      "2 1\n",
      "10\n",
      "10 3\n",
      "0011110111\n",
      "4 4\n",
      "1001\n",
      "7 2\n",
      "0101101\n",
      "9 3\n",
      "001100000\n",
      "4 1\n",
      "0110\n",
      "16 4\n",
      "0110011011010111\n",
      "19 1\n",
      "1111110100101100010\n",
      "2 4\n",
      "10\n",
      "15 4\n",
      "100000000101100\n",
      "12 2\n",
      "010000010000\n",
      "3 3\n",
      "000\n",
      "4 4\n",
      "0010\n",
      "14 4\n",
      "01101101011100\n",
      "5 3\n",
      "00011\n",
      "15 3\n",
      "111100001100000\n",
      "7 1\n",
      "0000111\n",
      "17 2\n",
      "10110000010011010\n",
      "8 2\n",
      "00010100\n",
      "8 1\n",
      "01011110\n",
      "13 2\n",
      "0100011101111\n",
      "17 3\n",
      "00111111110100110\n",
      "6 2\n",
      "100101\n",
      "18 4\n",
      "101000011111000001\n",
      "10 4\n",
      "1111010100\n",
      "19 3\n",
      "0100010101011110100\n",
      "17 2\n",
      "01111011010100111\n",
      "13 2\n",
      "1000101101101\n",
      "15 1\n",
      "000111010111101\n",
      "8 4\n",
      "01011011\n",
      "3 2\n",
      "111\n",
      "19 4\n",
      "1101011010011001001\n",
      "2 4\n",
      "10\n",
      "6 4\n",
      "000111\n",
      "17 1\n",
      "11100001100110010\n",
      "4 3\n",
      "0110\n",
      "6 1\n",
      "011100\n",
      "16 2\n",
      "0110010111110001\n",
      "13 4\n",
      "1100000011101\n",
      "10 3\n",
      "1010110001\n",
      "8 2\n",
      "10000100\n",
      "14 1\n",
      "10011111001110\n",
      "20 3\n",
      "11001111100101101011\n",
      "6 3\n",
      "101101\n",
      "4 4\n",
      "1001\n",
      "4 4\n",
      "0110\n",
      "2 4\n",
      "01\n",
      "19 3\n",
      "1011010100010110111\n",
      "14 4\n",
      "11010010001100\n",
      "16 4\n",
      "1101011111010100\n",
      "8 4\n",
      "10011101\n",
      "19 3\n",
      "1010101101100000110\n",
      "8 4\n",
      "10000110\n",
      "3 1\n",
      "101\n",
      "17 2\n",
      "01100010001111110\n",
      "10 2\n",
      "0110000100\n",
      "7 3\n",
      "0111001\n",
      "11 4\n",
      "01111011001\n",
      "16 4\n",
      "0110100111111100\n",
      "5 4\n",
      "10001\n",
      "6 4\n",
      "111111\n",
      "14 2\n",
      "11100000101001\n",
      "20 2\n",
      "00110010100001101010\n",
      "7 1\n",
      "0010110\n",
      "3 2\n",
      "100\n",
      "2 3\n",
      "10\n",
      "3 1\n",
      "110\n",
      "14 1\n",
      "00001100001110\n",
      "6 2\n",
      "010010\n",
      "20 2\n",
      "10111010001110000001\n",
      "19 1\n",
      "1100010000101000000\n",
      "10 3\n",
      "1101000001\n",
      "16 2\n",
      "0110101101101101\n",
      "16 2\n",
      "1001110011011001\n",
      "18 3\n",
      "000110111000011110\n",
      "4 3\n",
      "1010\n",
      "8 1\n",
      "00100011\n",
      "17 3\n",
      "00110000000100000\n",
      "10 3\n",
      "0110111111\n",
      "7 3\n",
      "1011110\n",
      "16 3\n",
      "0011011100011111\n",
      "17 4\n",
      "11001100000010000\n",
      "11 1\n",
      "11111010100\n",
      "2 2\n",
      "11\n",
      "5 1\n",
      "00101\n",
      "8 4\n",
      "11010101\n",
      "7 4\n",
      "1101011\n",
      "5 3\n",
      "10100\n",
      "13 2\n",
      "1011011000000\n",
      "10 4\n",
      "0111001000\n",
      "9 1\n",
      "000011011\n",
      "9 1\n",
      "011011010\n",
      "20 3\n",
      "01111010111001110100\n",
      "3 4\n",
      "011\n",
      "10 1\n",
      "1111001010\n",
      "4 3\n",
      "0001\n",
      "15 1\n",
      "001110100010011\n",
      "19 3\n",
      "0001011111010001110\n",
      "7 1\n",
      "0111111\n",
      "9 3\n",
      "000111101\n",
      "2 2\n",
      "01\n",
      "13 3\n",
      "0110001111001\n",
      "18 3\n",
      "111001000000011001\n",
      "17 2\n",
      "00000101100101111\n",
      "7 3\n",
      "1101010\n",
      "13 4\n",
      "1010100111000\n",
      "5 2\n",
      "11110\n",
      "8 4\n",
      "10110000\n",
      "8 1\n",
      "11101011\n",
      "13 3\n",
      "0001011000001\n",
      "11 2\n",
      "10111100111\n",
      "2 4\n",
      "11\n",
      "3 1\n",
      "011\n",
      "12 1\n",
      "101010001011\n",
      "15 2\n",
      "110101001100101\n",
      "18 3\n",
      "011111001000101001\n",
      "6 1\n",
      "011011\n",
      "9 1\n",
      "011011000\n",
      "3 4\n",
      "110\n",
      "13 2\n",
      "0001100110011\n",
      "20 2\n",
      "01010110110110000000\n",
      "14 1\n",
      "10000100101111\n",
      "14 1\n",
      "00000001010000\n",
      "8 2\n",
      "01101000\n",
      "4 4\n",
      "1111\n",
      "18 2\n",
      "101011101100111101\n",
      "10 1\n",
      "1111110110\n",
      "15 1\n",
      "011000010010010\n",
      "17 4\n",
      "00110000110010010\n",
      "9 1\n",
      "100011010\n",
      "18 4\n",
      "001111100000110010\n",
      "2 3\n",
      "00\n",
      "7 1\n",
      "1011111\n",
      "4 2\n",
      "1000\n",
      "14 1\n",
      "01010110101111\n",
      "18 3\n",
      "000000110011101000\n",
      "2 2\n",
      "10\n",
      "12 1\n",
      "010001000011\n",
      "19 4\n",
      "1010001110111001001\n",
      "19 4\n",
      "1000011000100101101\n",
      "9 2\n",
      "110011110\n",
      "13 1\n",
      "0111111010000\n",
      "6 2\n",
      "001000\n",
      "7 3\n",
      "1011110\n",
      "5 2\n",
      "11011\n",
      "15 3\n",
      "100111110100000\n",
      "15 2\n",
      "110001101101011\n",
      "3 4\n",
      "000\n",
      "11 1\n",
      "00101000001\n",
      "13 2\n",
      "0101100011110\n",
      "19 3\n",
      "1011110100100101101\n",
      "12 3\n",
      "111101010111\n",
      "5 4\n",
      "10110\n",
      "19 1\n",
      "1001010101000100000\n",
      "3 2\n",
      "101\n",
      "11 4\n",
      "11111111101\n",
      "16 2\n",
      "1100101000100101\n",
      "12 2\n",
      "010001010100\n",
      "12 1\n",
      "111000011110\n",
      "15 4\n",
      "100001011010110\n",
      "15 3\n",
      "001001001000100\n",
      "17 4\n",
      "00100100111011110\n",
      "10 4\n",
      "0000000100\n",
      "5 4\n",
      "01100\n",
      "10 2\n",
      "1000000010\n",
      "12 2\n",
      "011011010110\n",
      "17 1\n",
      "00011110001101010\n",
      "16 2\n",
      "1011011001100100\n",
      "11 4\n",
      "00101110110\n",
      "19 3\n",
      "0110110000010100010\n",
      "8 1\n",
      "01110000\n",
      "17 4\n",
      "11010001001101110\n",
      "18 4\n",
      "010000111010011000\n",
      "7 3\n",
      "0110001\n",
      "7 3\n",
      "1100111\n",
      "9 4\n",
      "011011011\n",
      "6 2\n",
      "000001\n",
      "11 4\n",
      "01100011010\n",
      "13 1\n",
      "1110110100111\n",
      "20 4\n",
      "00001011111101011001\n",
      "12 3\n",
      "011111001101\n",
      "14 3\n",
      "01000110100101\n",
      "2 3\n",
      "11\n",
      "15 4\n",
      "011110010001011\n",
      "11 3\n",
      "11010101001\n",
      "7 1\n",
      "0010011\n",
      "14 1\n",
      "10101000000100\n",
      "9 1\n",
      "110011101\n",
      "13 4\n",
      "1111110111000\n",
      "11 2\n",
      "01010111100\n",
      "13 3\n",
      "1000010000110\n",
      "15 3\n",
      "001010000110011\n",
      "18 4\n",
      "100100001110100101\n",
      "3 1\n",
      "001\n",
      "4 1\n",
      "1010\n",
      "16 2\n",
      "1101101011111110\n",
      "8 3\n",
      "11001110\n",
      "9 4\n",
      "001101001\n",
      "13 4\n",
      "0010110010010\n",
      "20 2\n",
      "00001111011100111011\n",
      "19 1\n",
      "0000010101100011110\n",
      "5 2\n",
      "11100\n",
      "13 3\n",
      "1101011001100\n",
      "18 3\n",
      "101110101100010001\n",
      "9 2\n",
      "100000011\n",
      "18 3\n",
      "110101111101001110\n",
      "15 3\n",
      "011101001000001\n",
      "13 3\n",
      "1101001010011\n",
      "6 3\n",
      "110000\n",
      "14 4\n",
      "10000010011010\n",
      "8 1\n",
      "11000110\n",
      "14 4\n",
      "01100110111100\n",
      "3 4\n",
      "001\n",
      "10 3\n",
      "0111100110\n",
      "14 1\n",
      "10000111000001\n",
      "17 4\n",
      "00111010010001011\n",
      "3 4\n",
      "101\n",
      "3 3\n",
      "100\n",
      "11 4\n",
      "00111001011\n",
      "13 3\n",
      "0001001001000\n",
      "20 2\n",
      "10010110010011000001\n",
      "5 2\n",
      "00011\n",
      "15 3\n",
      "010011100011001\n",
      "7 1\n",
      "0000000\n",
      "19 4\n",
      "1001001110000010110\n",
      "20 2\n",
      "00110111000101110100\n",
      "7 3\n",
      "0000011\n",
      "11 2\n",
      "11111111111\n",
      "4 4\n",
      "1000\n",
      "3 4\n",
      "011\n",
      "8 2\n",
      "00011111\n",
      "2 2\n",
      "01\n",
      "8 1\n",
      "10111001\n",
      "9 2\n",
      "110010111\n",
      "8 3\n",
      "01000011\n",
      "2 1\n",
      "10\n",
      "2 3\n",
      "11\n",
      "8 3\n",
      "00011101\n",
      "2 3\n",
      "00\n",
      "15 2\n",
      "111001001010100\n",
      "6 3\n",
      "011110\n",
      "20 3\n",
      "00001001001011111111\n",
      "12 2\n",
      "010100011011\n",
      "11 2\n",
      "11111001001\n",
      "7 1\n",
      "1100111\n",
      "20 4\n",
      "11000100111111001011\n",
      "3 2\n",
      "101\n",
      "20 3\n",
      "00000101110101111110\n",
      "14 2\n",
      "01111110110010\n",
      "14 4\n",
      "10001111010011\n",
      "16 3\n",
      "0100110000111101\n",
      "5 1\n",
      "01100\n",
      "11 3\n",
      "01111010001\n",
      "8 2\n",
      "10101110\n",
      "8 4\n",
      "01010010\n",
      "6 2\n",
      "010110\n",
      "3 3\n",
      "111\n",
      "4 4\n",
      "1011\n",
      "18 4\n",
      "100100011001100110\n",
      "3 4\n",
      "011\n",
      "10 3\n",
      "1100001110\n",
      "13 3\n",
      "0000011001110\n",
      "11 4\n",
      "10110000011\n",
      "11 3\n",
      "10110010110\n",
      "16 4\n",
      "1110010000011110\n",
      "15 2\n",
      "011100010010001\n",
      "16 4\n",
      "1101100001101010\n",
      "10 3\n",
      "0001010011\n",
      "15 1\n",
      "001010011101011\n",
      "11 4\n",
      "00001001111\n",
      "4 1\n",
      "1100\n",
      "5 4\n",
      "10110\n",
      "20 4\n",
      "00001011010000110000\n",
      "13 3\n",
      "1011010100101\n",
      "19 1\n",
      "1000111000111001011\n",
      "18 1\n",
      "010000111001010011\n",
      "5 4\n",
      "11000\n",
      "11 1\n",
      "00101011111\n",
      "16 1\n",
      "0010111000110100\n",
      "14 1\n",
      "01000001010101\n",
      "8 4\n",
      "01011110\n",
      "5 4\n",
      "11110\n",
      "15 2\n",
      "000001011111111\n",
      "8 1\n",
      "01101011\n",
      "7 2\n",
      "1010111\n",
      "5 2\n",
      "00110\n",
      "15 4\n",
      "101000000010000\n",
      "9 2\n",
      "010111011\n",
      "15 3\n",
      "101101101011010\n",
      "11 2\n",
      "10111011111\n",
      "4 3\n",
      "0111\n",
      "17 3\n",
      "00100010000100000\n",
      "4 4\n",
      "0101\n",
      "14 2\n",
      "10101011101011\n",
      "10 3\n",
      "1101011001\n",
      "12 2\n",
      "101100010111\n",
      "12 4\n",
      "110110111111\n",
      "8 3\n",
      "00101000\n",
      "2 2\n",
      "10\n",
      "5 4\n",
      "11011\n",
      "5 4\n",
      "10011\n",
      "5 4\n",
      "11101\n",
      "9 3\n",
      "111100010\n",
      "16 3\n",
      "1101100100101010\n",
      "6 3\n",
      "001000\n",
      "18 3\n",
      "011100001010101100\n",
      "20 2\n",
      "11001000010001101101\n",
      "7 4\n",
      "0100011\n",
      "20 3\n",
      "10000010001010101100\n",
      "13 3\n",
      "0100011000101\n",
      "2 2\n",
      "01\n",
      "18 4\n",
      "001001111110001010\n",
      "9 1\n",
      "111010000\n",
      "19 3\n",
      "0100010011001110101\n",
      "7 4\n",
      "0011110\n",
      "16 1\n",
      "0010110001011001\n",
      "16 1\n",
      "1000111101110101\n",
      "11 3\n",
      "10000010101\n",
      "10 1\n",
      "0001110001\n",
      "14 3\n",
      "00001010010011\n",
      "19 4\n",
      "0110001110100000111\n",
      "19 3\n",
      "1101010101010011111\n",
      "2 2\n",
      "00\n",
      "10 2\n",
      "0001011011\n",
      "17 4\n",
      "01000011011110000\n",
      "18 1\n",
      "111001000100001010\n",
      "5 4\n",
      "01110\n",
      "17 1\n",
      "00011011011001001\n",
      "8 4\n",
      "00100111\n",
      "13 1\n",
      "1010100000001\n",
      "9 2\n",
      "101001101\n",
      "6 3\n",
      "000011\n",
      "8 3\n",
      "10111001\n",
      "6 2\n",
      "111100\n",
      "11 3\n",
      "00111111110\n",
      "9 2\n",
      "011101010\n",
      "6 3\n",
      "010001\n",
      "20 3\n",
      "10001111001101001010\n",
      "2 2\n",
      "10\n",
      "7 1\n",
      "1100011\n",
      "19 1\n",
      "1010100110110001010\n",
      "13 4\n",
      "1001101111011\n",
      "16 2\n",
      "0111011111101010\n",
      "14 3\n",
      "11011111100101\n",
      "11 3\n",
      "00110000101\n",
      "9 4\n",
      "011011110\n",
      "5 2\n",
      "11101\n",
      "5 4\n",
      "01000\n",
      "14 3\n",
      "11000111100101\n",
      "19 2\n",
      "1110011100101110111\n",
      "4 2\n",
      "0011\n",
      "20 3\n",
      "01111100110000111101\n",
      "8 2\n",
      "01000000\n",
      "14 3\n",
      "10000111001111\n",
      "13 3\n",
      "0111110011101\n",
      "16 3\n",
      "0011010001111010\n",
      "13 1\n",
      "0011010010111\n",
      "13 1\n",
      "0001100001101\n",
      "17 3\n",
      "10011101110001001\n",
      "8 2\n",
      "00101100\n",
      "12 2\n",
      "001010001101\n",
      "15 4\n",
      "010100001111100\n",
      "17 4\n",
      "01001110111101010\n",
      "20 4\n",
      "10001001000100010101\n",
      "19 4\n",
      "1111011011101010001\n",
      "16 2\n",
      "1010110001111110\n",
      "7 4\n",
      "1101011\n",
      "17 1\n",
      "11010010111010011\n",
      "19 2\n",
      "0111000001011101010\n",
      "17 4\n",
      "11110100101110110\n",
      "14 3\n",
      "10110110011100\n",
      "7 1\n",
      "0000011\n",
      "8 1\n",
      "01000100\n",
      "8 2\n",
      "11110111\n",
      "2 3\n",
      "10\n",
      "4 3\n",
      "0011\n",
      "12 4\n",
      "111001010001\n",
      "2 4\n",
      "11\n",
      "19 4\n",
      "0101000010001100011\n",
      "2 3\n",
      "10\n",
      "18 1\n",
      "100111001100111100\n",
      "20 3\n",
      "10000001101011000011\n",
      "9 1\n",
      "001100010\n",
      "10 3\n",
      "1101111000\n",
      "12 1\n",
      "111011111110\n",
      "5 1\n",
      "01011\n",
      "9 1\n",
      "101001100\n",
      "13 4\n",
      "0000001001010\n",
      "2 1\n",
      "11\n",
      "5 1\n",
      "00011\n",
      "20 1\n",
      "10100100010100000000\n",
      "14 4\n",
      "10110101100010\n",
      "19 4\n",
      "1010110100010110011\n",
      "9 1\n",
      "111010001\n",
      "13 4\n",
      "0010111000000\n",
      "19 2\n",
      "0011100101001100001\n",
      "18 2\n",
      "000101100010010110\n",
      "11 3\n",
      "10000110001\n",
      "17 1\n",
      "00001111110011100\n",
      "16 4\n",
      "1101010011011001\n",
      "19 4\n",
      "0110110001001010011\n",
      "12 1\n",
      "111010010000\n",
      "4 3\n",
      "0011\n",
      "10 2\n",
      "0001010010\n",
      "14 3\n",
      "11101100101010\n",
      "9 1\n",
      "010111010\n",
      "10 2\n",
      "0000011000\n",
      "15 4\n",
      "000001111110000\n",
      "7 4\n",
      "1010001\n",
      "6 2\n",
      "010101\n",
      "14 2\n",
      "11011001101111\n",
      "12 3\n",
      "101000011110\n",
      "6 2\n",
      "011011\n",
      "12 2\n",
      "100000111101\n",
      "16 4\n",
      "0001100011100100\n",
      "5 4\n",
      "10000\n",
      "7 2\n",
      "1000110\n",
      "12 4\n",
      "100000000110\n",
      "14 1\n",
      "11011001110100\n",
      "17 4\n",
      "01111111110111001\n",
      "2 3\n",
      "10\n",
      "7 1\n",
      "1000001\n",
      "12 4\n",
      "000110111100\n",
      "19 2\n",
      "0110111010101010111\n",
      "4 3\n",
      "1010\n",
      "19 3\n",
      "1100000000011010011\n",
      "13 2\n",
      "0001101100001\n",
      "19 3\n",
      "1000110101000101111\n",
      "3 3\n",
      "101\n",
      "2 4\n",
      "01\n",
      "9 2\n",
      "110111000\n",
      "13 3\n",
      "1101101010011\n",
      "8 3\n",
      "00110011\n",
      "11 4\n",
      "11000011111\n",
      "10 2\n",
      "1010010100\n",
      "11 2\n",
      "11011011001\n",
      "10 4\n",
      "1101101100\n",
      "5 2\n",
      "11100\n",
      "15 3\n",
      "001010000011111\n",
      "7 4\n",
      "1110111\n",
      "11 4\n",
      "00010100110\n",
      "19 3\n",
      "0111011111101010110\n",
      "6 1\n",
      "111111\n",
      "2 2\n",
      "10\n",
      "20 4\n",
      "11111000111101100101\n",
      "10 4\n",
      "0101010000\n",
      "10 3\n",
      "0101001001\n",
      "18 3\n",
      "110111110110010101\n",
      "3 3\n",
      "011\n",
      "3 1\n",
      "111\n",
      "9 4\n",
      "000101111\n",
      "9 1\n",
      "111011100\n",
      "9 1\n",
      "010001110\n",
      "14 2\n",
      "10101101111000\n",
      "5 3\n",
      "10101\n",
      "11 4\n",
      "11100000010\n",
      "9 4\n",
      "100001010\n",
      "18 4\n",
      "000011111100101110\n",
      "13 4\n",
      "0010100111001\n",
      "17 4\n",
      "00011001000111011\n",
      "17 3\n",
      "11011011100110101\n",
      "5 4\n",
      "01110\n",
      "9 2\n",
      "100010011\n",
      "18 2\n",
      "111010101001000111\n",
      "10 2\n",
      "0000100101\n",
      "7 1\n",
      "0001101\n",
      "7 1\n",
      "1000011\n",
      "6 4\n",
      "101011\n",
      "3 3\n",
      "110\n",
      "19 2\n",
      "0110100100100100000\n",
      "18 2\n",
      "001001101010011111\n",
      "17 2\n",
      "10011010110100101\n",
      "3 3\n",
      "000\n",
      "9 4\n",
      "010101001\n",
      "9 1\n",
      "001000111\n",
      "17 2\n",
      "11001101100100100\n",
      "17 4\n",
      "00110000010110101\n",
      "10 3\n",
      "0001110011\n",
      "20 1\n",
      "10011001011010100101\n",
      "10 4\n",
      "1011001000\n",
      "6 4\n",
      "010011\n",
      "9 3\n",
      "000011010\n",
      "8 3\n",
      "10110100\n",
      "10 2\n",
      "0100001100\n",
      "7 3\n",
      "1101111\n",
      "16 1\n",
      "1001011011100100\n",
      "4 2\n",
      "0100\n",
      "17 2\n",
      "10110000110001000\n",
      "20 1\n",
      "00001000011101000010\n",
      "13 4\n",
      "1110000010100\n",
      "4 2\n",
      "1011\n",
      "20 2\n",
      "10100011000101100111\n",
      "18 2\n",
      "110011001110100010\n",
      "20 3\n",
      "11111001100001011010\n",
      "5 3\n",
      "00011\n",
      "19 4\n",
      "1000100110111000110\n",
      "11 3\n",
      "01100100011\n",
      "8 3\n",
      "01110010\n",
      "5 1\n",
      "01010\n",
      "12 3\n",
      "111110101001\n",
      "11 3\n",
      "10111000100\n",
      "5 1\n",
      "00111\n",
      "2 4\n",
      "00\n",
      "7 1\n",
      "1011110\n",
      "4 2\n",
      "1000\n",
      "10 2\n",
      "1001110000\n",
      "20 2\n",
      "00100100100110010000\n",
      "9 3\n",
      "011000000\n",
      "18 2\n",
      "001100110100001101\n",
      "13 4\n",
      "0111011100001\n",
      "10 3\n",
      "1001010101\n",
      "12 3\n",
      "000011100001\n",
      "9 2\n",
      "100110011\n",
      "11 2\n",
      "11011110100\n",
      "18 1\n",
      "100110010001111011\n",
      "20 2\n",
      "01001001001111110010\n",
      "10 1\n",
      "0001011011\n",
      "11 1\n",
      "01011100010\n",
      "16 2\n",
      "0010010011111100\n",
      "5 1\n",
      "10100\n",
      "18 4\n",
      "111001011010010010\n",
      "17 4\n",
      "11001010110011111\n",
      "8 3\n",
      "10010000\n",
      "16 3\n",
      "1111110101101110\n",
      "7 4\n",
      "1110001\n",
      "20 3\n",
      "00001011011010011011\n",
      "16 3\n",
      "1011011110100001\n",
      "15 1\n",
      "100001001110110\n",
      "20 4\n",
      "01100111101011111001\n",
      "13 1\n",
      "1011100011010\n",
      "13 3\n",
      "1001111010111\n",
      "6 2\n",
      "100001\n",
      "7 3\n",
      "0011010\n",
      "13 2\n",
      "0101010100101\n",
      "10 1\n",
      "0110010110\n",
      "3 1\n",
      "000\n",
      "16 2\n",
      "0101111110010100\n",
      "8 3\n",
      "11010000\n",
      "16 4\n",
      "1000110000101010\n",
      "18 1\n",
      "111010000010011010\n",
      "2 1\n",
      "01\n",
      "8 4\n",
      "11000010\n",
      "16 2\n",
      "0011101001000011\n",
      "15 1\n",
      "111111000010111\n",
      "11 1\n",
      "00010111101\n",
      "12 4\n",
      "110110110110\n",
      "19 2\n",
      "0000011101011101110\n",
      "3 1\n",
      "100\n",
      "17 4\n",
      "11100100000000000\n",
      "17 1\n",
      "00100110011011111\n",
      "19 1\n",
      "0111001010101110001\n",
      "17 1\n",
      "00011101111101010\n",
      "10 4\n",
      "1010101011\n",
      "7 2\n",
      "1110111\n",
      "7 4\n",
      "0011101\n",
      "7 2\n",
      "0001111\n",
      "18 2\n",
      "100100010110110100\n",
      "14 2\n",
      "11001010001000\n",
      "14 4\n",
      "01011001100000\n",
      "5 1\n",
      "00101\n",
      "6 2\n",
      "100101\n",
      "7 2\n",
      "1111110\n",
      "11 1\n",
      "00100101011\n",
      "6 1\n",
      "000110\n",
      "7 1\n",
      "0001110\n",
      "18 4\n",
      "100010101010011110\n",
      "15 2\n",
      "011000010110001\n",
      "7 2\n",
      "0001101\n",
      "18 1\n",
      "100101111011101001\n",
      "4 4\n",
      "0101\n",
      "14 2\n",
      "10110100001101\n",
      "12 4\n",
      "111010000011\n",
      "12 3\n",
      "111101110111\n",
      "17 4\n",
      "00100101100011100\n",
      "14 2\n",
      "10101111100011\n",
      "15 1\n",
      "000001101111001\n",
      "5 2\n",
      "11111\n",
      "4 2\n",
      "1010\n",
      "19 4\n",
      "0011111000011110011\n",
      "4 2\n",
      "1000\n",
      "3 2\n",
      "111\n",
      "5 4\n",
      "01100\n",
      "14 3\n",
      "10010100101111\n",
      "17 2\n",
      "11010101110100000\n",
      "7 2\n",
      "1110000\n",
      "14 4\n",
      "11101100010110\n",
      "4 3\n",
      "0011\n",
      "12 1\n",
      "101011001011\n",
      "6 4\n",
      "000100\n",
      "9 4\n",
      "001001101\n",
      "17 4\n",
      "01111101010110110\n",
      "3 4\n",
      "011\n",
      "18 2\n",
      "001101011011001111\n",
      "14 4\n",
      "00011100000010\n",
      "12 1\n",
      "001000101001\n",
      "5 4\n",
      "10011\n",
      "9 4\n",
      "000110011\n",
      "13 4\n",
      "0010010110101\n",
      "17 4\n",
      "11110010110010110\n",
      "18 3\n",
      "010100001010000010\n",
      "4 2\n",
      "1101\n",
      "12 1\n",
      "101111101100\n",
      "17 2\n",
      "00001110001110001\n",
      "4 1\n",
      "1001\n",
      "11 2\n",
      "10100111110\n",
      "19 1\n",
      "0010111111111000011\n",
      "9 1\n",
      "100101011\n",
      "13 2\n",
      "0111101101000\n",
      "15 3\n",
      "110000011010011\n",
      "14 1\n",
      "01111100001111\n",
      "7 2\n",
      "1101000\n",
      "2 1\n",
      "00\n",
      "13 3\n",
      "1000110100011\n",
      "18 3\n",
      "101011011101110000\n",
      "3 3\n",
      "010\n",
      "8 1\n",
      "10010110\n",
      "14 2\n",
      "01101011011001\n",
      "6 2\n",
      "100010\n",
      "8 4\n",
      "00100001\n",
      "6 2\n",
      "000010\n",
      "7 2\n",
      "1011011\n",
      "15 3\n",
      "010000101110000\n",
      "11 3\n",
      "00011001110\n",
      "8 2\n",
      "01100000\n",
      "2 3\n",
      "10\n",
      "11 4\n",
      "10100001111\n",
      "11 2\n",
      "00001001011\n",
      "8 1\n",
      "10001100\n",
      "12 1\n",
      "011001100000\n",
      "5 3\n",
      "01001\n",
      "16 3\n",
      "1110101010101010\n",
      "13 3\n",
      "0100000110110\n",
      "7 1\n",
      "1111010\n",
      "3 1\n",
      "111\n",
      "2 4\n",
      "10\n",
      "16 2\n",
      "0001011111000010\n",
      "14 1\n",
      "11101001000000\n",
      "4 3\n",
      "0000\n",
      "16 3\n",
      "1001101010011001\n",
      "4 4\n",
      "1100\n",
      "8 2\n",
      "11100110\n",
      "17 2\n",
      "00101001100101000\n",
      "7 4\n",
      "1111000\n",
      "5 1\n",
      "10011\n",
      "7 3\n",
      "0010000\n",
      "7 2\n",
      "0010111\n",
      "15 3\n",
      "011010001101001\n",
      "7 3\n",
      "0101010\n",
      "13 3\n",
      "0110100111111\n",
      "14 2\n",
      "00011110100101\n",
      "10 4\n",
      "1001011111\n",
      "13 2\n",
      "1001011000010\n",
      "11 4\n",
      "10101110111\n",
      "15 3\n",
      "010100010101010\n",
      "12 1\n",
      "000011111100\n",
      "2 4\n",
      "11\n",
      "11 3\n",
      "11111110010\n",
      "19 1\n",
      "0101011011101100110\n",
      "15 2\n",
      "101000010011110\n",
      "4 4\n",
      "0000\n",
      "4 2\n",
      "1100\n",
      "13 3\n",
      "0000011101011\n",
      "13 2\n",
      "0001011010001\n",
      "2 3\n",
      "11\n",
      "14 3\n",
      "00001110000110\n",
      "19 2\n",
      "0110000111001010000\n",
      "10 3\n",
      "0101111101\n",
      "6 2\n",
      "101010\n",
      "10 3\n",
      "0010010100\n",
      "17 2\n",
      "10001111110011001\n",
      "12 1\n",
      "010101111010\n",
      "11 3\n",
      "10000101010\n",
      "16 2\n",
      "0001000011010010\n",
      "19 1\n",
      "0011111001000111111\n",
      "7 3\n",
      "1011000\n",
      "15 4\n",
      "100110010011100\n",
      "20 4\n",
      "11110001000000000110\n",
      "5 2\n",
      "00010\n",
      "12 4\n",
      "101011101000\n",
      "15 2\n",
      "111111000000011\n",
      "8 3\n",
      "00100011\n",
      "11 1\n",
      "00100101101\n",
      "2 4\n",
      "00\n",
      "11 1\n",
      "00100110001\n",
      "5 2\n",
      "10011\n",
      "18 2\n",
      "100011000110101111\n",
      "14 4\n",
      "11110011101001\n",
      "6 3\n",
      "010100\n",
      "7 1\n",
      "0000011\n",
      "14 3\n",
      "01010101100000\n",
      "9 3\n",
      "000001100\n",
      "19 4\n",
      "0101110100011111111\n",
      "4 3\n",
      "1111\n",
      "15 1\n",
      "010000000100110\n",
      "2 1\n",
      "00\n",
      "20 1\n",
      "11001101100110101010\n",
      "14 1\n",
      "11100110101001\n",
      "17 4\n",
      "00010111011110111\n",
      "5 1\n",
      "01111\n",
      "15 3\n",
      "100111100011010\n",
      "4 2\n",
      "1010\n",
      "20 1\n",
      "00011010011100000110\n",
      "18 4\n",
      "010010010101001111\n",
      "15 1\n",
      "001101010100011\n",
      "2 4\n",
      "01\n",
      "5 3\n",
      "01101\n",
      "11 2\n",
      "01101101000\n",
      "15 4\n",
      "000001100000100\n",
      "2 1\n",
      "00\n",
      "13 3\n",
      "0001000101001\n",
      "14 3\n",
      "01100100111000\n",
      "19 2\n",
      "1110001000110100111\n",
      "20 3\n",
      "11110000001110001010\n",
      "18 1\n",
      "010111001110001010\n",
      "9 3\n",
      "000010010\n",
      "15 3\n",
      "000100001011011\n",
      "11 2\n",
      "11000110011\n",
      "12 1\n",
      "111110000011\n",
      "20 1\n",
      "10000101110010100101\n",
      "18 4\n",
      "100111100110000001\n",
      "7 2\n",
      "1101110\n",
      "9 4\n",
      "100110110\n",
      "12 3\n",
      "011111001001\n",
      "13 2\n",
      "1001100010100\n",
      "3 4\n",
      "101\n",
      "14 1\n",
      "00000100111000\n",
      "5 2\n",
      "00000\n",
      "13 4\n",
      "1101011010011\n",
      "3 3\n",
      "011\n",
      "20 2\n",
      "01010111110110011110\n",
      "8 3\n",
      "10100110\n",
      "2 3\n",
      "11\n",
      "15 3\n",
      "000101001010111\n",
      "13 2\n",
      "1100000111011\n",
      "15 4\n",
      "110111111100100\n",
      "18 4\n",
      "110011101111111001\n",
      "8 2\n",
      "11110000\n",
      "8 2\n",
      "10000011\n",
      "10 1\n",
      "0000000011\n",
      "6 1\n",
      "001110\n",
      "7 3\n",
      "1101000\n",
      "9 4\n",
      "001110100\n",
      "12 2\n",
      "101010000011\n",
      "4 3\n",
      "0100\n",
      "10 4\n",
      "1000010101\n",
      "18 1\n",
      "010001111111110011\n",
      "17 2\n",
      "01011011001110100\n",
      "3 2\n",
      "011\n",
      "15 4\n",
      "010001101111101\n",
      "7 1\n",
      "1110110\n",
      "16 4\n",
      "0001111010110000\n",
      "4 4\n",
      "0100\n",
      "12 2\n",
      "111100110000\n",
      "5 1\n",
      "01110\n",
      "18 1\n",
      "100001101010010110\n",
      "9 1\n",
      "111000011\n",
      "7 1\n",
      "1001111\n",
      "2 1\n",
      "11\n",
      "3 4\n",
      "001\n",
      "6 2\n",
      "011010\n",
      "3 1\n",
      "110\n",
      "9 2\n",
      "011001100\n",
      "5 4\n",
      "01100\n",
      "13 4\n",
      "1111001110111\n",
      "19 3\n",
      "0101001011110111101\n",
      "12 3\n",
      "111100110010\n",
      "14 3\n",
      "00011010110010\n",
      "11 3\n",
      "10101110011\n",
      "2 4\n",
      "11\n",
      "2 2\n",
      "01\n",
      "8 4\n",
      "11100010\n",
      "11 4\n",
      "10000100111\n",
      "15 2\n",
      "101011100010101\n",
      "17 1\n",
      "10110100111101111\n",
      "18 4\n",
      "111011111011011110\n",
      "19 2\n",
      "0000001101101010010\n",
      "5 2\n",
      "10111\n",
      "8 4\n",
      "00010010\n",
      "17 4\n",
      "00110000011010101\n",
      "18 1\n",
      "101000100000011110\n",
      "19 1\n",
      "0110000100010011001\n",
      "12 1\n",
      "010100000100\n",
      "17 4\n",
      "01110011000000000\n",
      "16 1\n",
      "0100100001100101\n",
      "16 1\n",
      "0111101110110101\n",
      "14 4\n",
      "10110001001110\n",
      "6 2\n",
      "100110\n",
      "19 3\n",
      "1110001101000100111\n",
      "18 1\n",
      "011001010111101111\n",
      "14 4\n",
      "11111100010111\n",
      "4 4\n",
      "0001\n",
      "5 1\n",
      "00101\n",
      "15 4\n",
      "110101010011110\n",
      "2 4\n",
      "00\n",
      "18 3\n",
      "110010011011111011\n",
      "13 1\n",
      "1101100110000\n",
      "19 2\n",
      "0000000111111011110\n",
      "15 4\n",
      "100011110001011\n",
      "13 3\n",
      "1101111110100\n",
      "15 4\n",
      "111010000011111\n",
      "3 4\n",
      "101\n",
      "18 2\n",
      "101110111000101100\n",
      "9 3\n",
      "001011111\n",
      "7 2\n",
      "1110001\n",
      "6 3\n",
      "110011\n",
      "18 2\n",
      "000011001000011001\n",
      "12 4\n",
      "010111011010\n",
      "15 2\n",
      "000111101010011\n",
      "10 2\n",
      "1101010100\n",
      "16 1\n",
      "1100110111100010\n",
      "16 2\n",
      "1001100101011100\n",
      "13 4\n",
      "1110000000011\n",
      "15 1\n",
      "101001011000001\n",
      "11 3\n",
      "01001000111\n",
      "3 3\n",
      "110\n",
      "13 2\n",
      "1111011010100\n",
      "17 2\n",
      "11001010111001001\n",
      "9 1\n",
      "110010001\n",
      "3 1\n",
      "110\n",
      "8 2\n",
      "11100101\n",
      "11 3\n",
      "11010001101\n",
      "5 1\n",
      "01111\n",
      "18 1\n",
      "011000010000101010\n",
      "10 2\n",
      "1100011111\n",
      "9 1\n",
      "101100110\n",
      "13 2\n",
      "0111100011100\n",
      "15 4\n",
      "111100101000100\n",
      "6 3\n",
      "010111\n",
      "9 3\n",
      "011010110\n",
      "11 1\n",
      "10100000000\n",
      "11 2\n",
      "00011101100\n",
      "5 1\n",
      "11011\n",
      "3 2\n",
      "101\n",
      "15 3\n",
      "100001111100001\n",
      "5 2\n",
      "11111\n",
      "5 1\n",
      "10100\n",
      "18 2\n",
      "111110111110011111\n",
      "3 1\n",
      "000\n",
      "5 2\n",
      "11010\n",
      "3 4\n",
      "010\n",
      "8 1\n",
      "10000001\n",
      "17 1\n",
      "11000100000011110\n",
      "10 2\n",
      "0101011101\n",
      "15 1\n",
      "101011110001001\n",
      "20 1\n",
      "10000110100001000000\n",
      "8 2\n",
      "11011011\n",
      "17 2\n",
      "10111010111111101\n",
      "8 1\n",
      "01010001\n",
      "18 2\n",
      "000110110101001011\n",
      "7 2\n",
      "0100101\n",
      "4 2\n",
      "0111\n",
      "20 1\n",
      "00011011010000000101\n",
      "19 2\n",
      "1100010010010111101\n",
      "14 4\n",
      "11101110001011\n",
      "20 2\n",
      "01001011111011111111\n",
      "3 2\n",
      "010\n",
      "18 1\n",
      "100000111000011011\n",
      "10 4\n",
      "1101011100\n",
      "8 3\n",
      "00010001\n",
      "6 4\n",
      "010001\n",
      "11 4\n",
      "11011010001\n",
      "11 4\n",
      "01110011000\n",
      "11 1\n",
      "00000000110\n",
      "18 3\n",
      "000000011000100101\n",
      "5 4\n",
      "00111\n",
      "19 4\n",
      "0000011000010010001\n",
      "17 1\n",
      "10111010001100101\n",
      "6 2\n",
      "101101\n",
      "8 1\n",
      "01000100\n",
      "18 4\n",
      "110100010000100011\n",
      "15 2\n",
      "111110101111110\n",
      "5 1\n",
      "01111\n",
      "11 1\n",
      "10011001110\n",
      "13 1\n",
      "1101001010011\n",
      "7 1\n",
      "1010111\n",
      "5 3\n",
      "11111\n",
      "16 4\n",
      "0011110000000001\n",
      "19 1\n",
      "1010011111000110000\n",
      "19 4\n",
      "1110010011110100001\n",
      "13 3\n",
      "1011110101111\n",
      "4 1\n",
      "1001\n",
      "12 4\n",
      "111100101110\n",
      "5 1\n",
      "11110\n",
      "15 4\n",
      "110110110111011\n",
      "4 2\n",
      "0001\n",
      "3 2\n",
      "001\n",
      "8 4\n",
      "11000100\n",
      "2 4\n",
      "01\n",
      "20 1\n",
      "11010101010110101111\n",
      "10 4\n",
      "0011110110\n",
      "9 2\n",
      "010010100\n",
      "6 4\n",
      "000010\n",
      "14 3\n",
      "11110001001010\n",
      "9 1\n",
      "001110111\n",
      "3 1\n",
      "011\n",
      "19 1\n",
      "0011010011000100101\n",
      "20 3\n",
      "00010100001001111010\n",
      "5 4\n",
      "10101\n",
      "18 4\n",
      "111100110110100000\n",
      "9 1\n",
      "010111000\n",
      "14 3\n",
      "11001101010111\n",
      "20 1\n",
      "01100001010111011111\n",
      "19 2\n",
      "1000111010010111111\n",
      "16 1\n",
      "1110011100010010\n",
      "6 1\n",
      "001100\n",
      "6 1\n",
      "111100\n",
      "17 4\n",
      "00110110110001110\n",
      "12 2\n",
      "001111110110\n",
      "9 4\n",
      "001000110\n",
      "7 1\n",
      "1110000\n",
      "5 1\n",
      "01011\n",
      "14 4\n",
      "01001110010000\n",
      "10 2\n",
      "1010110110\n",
      "2 2\n",
      "10\n",
      "16 1\n",
      "0000011010111111\n",
      "9 3\n",
      "101100010\n",
      "17 3\n",
      "11001011111101110\n",
      "20 1\n",
      "11001101100000100111\n",
      "8 2\n",
      "11010001\n",
      "11 2\n",
      "10111110111\n",
      "9 2\n",
      "110011110\n",
      "2 2\n",
      "10\n",
      "6 2\n",
      "011001\n",
      "13 3\n",
      "0111111100110\n",
      "8 4\n",
      "00110100\n",
      "12 2\n",
      "111110110101\n",
      "10 4\n",
      "0010011101\n",
      "14 2\n",
      "01111101001101\n",
      "10 4\n",
      "1100010100\n",
      "17 4\n",
      "10100101000100100\n",
      "8 1\n",
      "00111100\n",
      "11 3\n",
      "00001010001\n",
      "9 2\n",
      "110011001\n",
      "6 1\n",
      "101000\n",
      "13 1\n",
      "1011111001110\n",
      "16 4\n",
      "0001011001110100\n",
      "2 3\n",
      "00\n",
      "18 4\n",
      "010010110000110001\n",
      "17 3\n",
      "10100111001010011\n",
      "7 3\n",
      "0010100\n",
      "11 2\n",
      "10101100001\n",
      "15 4\n",
      "110001110001110\n",
      "8 4\n",
      "00000111\n",
      "5 2\n",
      "11010\n",
      "9 4\n",
      "001010110\n",
      "2 4\n",
      "01\n",
      "7 3\n",
      "1100100\n",
      "2 2\n",
      "01\n",
      "19 4\n",
      "1010001000110100101\n",
      "18 2\n",
      "000011011010011001\n",
      "9 4\n",
      "101010000\n",
      "16 4\n",
      "0011100101100001\n",
      "6 2\n",
      "110001\n",
      "9 1\n",
      "001001100\n",
      "5 4\n",
      "01001\n",
      "20 1\n",
      "00001100010110110001\n",
      "8 4\n",
      "01110000\n",
      "16 2\n",
      "0101101001001011\n",
      "10 2\n",
      "1000111001\n",
      "3 2\n",
      "110\n",
      "14 4\n",
      "01001010010100\n",
      "6 2\n",
      "010000\n",
      "17 3\n",
      "00110001011101001\n",
      "18 4\n",
      "001101000110011110\n",
      "14 2\n",
      "00001111001111\n",
      "20 4\n",
      "00110100010100001011\n",
      "14 1\n",
      "01010110011000\n",
      "3 1\n",
      "101\n",
      "8 4\n",
      "11000011\n",
      "9 2\n",
      "101110111\n",
      "9 3\n",
      "110001000\n",
      "15 2\n",
      "111110100011000\n",
      "19 1\n",
      "0000100111000001000\n",
      "3 1\n",
      "001\n",
      "13 2\n",
      "0110010011001\n",
      "4 3\n",
      "1011\n",
      "3 2\n",
      "000\n",
      "16 2\n",
      "0010010101011010\n",
      "11 4\n",
      "11000110010\n",
      "9 4\n",
      "110011001\n",
      "7 1\n",
      "0000100\n",
      "6 3\n",
      "101111\n",
      "11 2\n",
      "01000010010\n",
      "12 2\n",
      "111010101111\n",
      "2 2\n",
      "10\n",
      "16 4\n",
      "0101010001011110\n",
      "20 2\n",
      "01001110101101110110\n",
      "18 2\n",
      "001100110101101011\n",
      "6 3\n",
      "111001\n",
      "6 1\n",
      "000111\n",
      "12 2\n",
      "100100110110\n",
      "12 2\n",
      "111110010111\n",
      "9 3\n",
      "110111010\n",
      "3 2\n",
      "100\n",
      "4 3\n",
      "1001\n",
      "11 3\n",
      "01101011000\n",
      "2 1\n",
      "10\n",
      "14 4\n",
      "01110101010010\n",
      "2 3\n",
      "00\n",
      "7 4\n",
      "1000101\n",
      "16 4\n",
      "0101001111001000\n",
      "10 3\n",
      "1101011010\n",
      "12 1\n",
      "010110101011\n",
      "5 2\n",
      "00110\n",
      "3 3\n",
      "001\n",
      "3 3\n",
      "111\n",
      "7 2\n",
      "0101001\n",
      "12 3\n",
      "010010111010\n",
      "2 4\n",
      "00\n",
      "8 3\n",
      "10011111\n",
      "20 3\n",
      "10101110110110111000\n",
      "7 3\n",
      "0111001\n",
      "15 1\n",
      "110111101010110\n",
      "4 2\n",
      "0101\n",
      "12 4\n",
      "111111100011\n",
      "4 4\n",
      "1111\n",
      "18 4\n",
      "111010111100100010\n",
      "6 2\n",
      "011010\n",
      "17 3\n",
      "01101100010111111\n",
      "20 1\n",
      "11010101110111010001\n",
      "13 1\n",
      "1101100111111\n",
      "9 1\n",
      "010111001\n",
      "12 2\n",
      "110000001000\n",
      "4 4\n",
      "0110\n",
      "20 2\n",
      "10011010010111000111\n",
      "17 1\n",
      "11001010000010111\n",
      "16 4\n",
      "1011011000100111\n",
      "5 2\n",
      "01111\n",
      "2 2\n",
      "11\n",
      "6 1\n",
      "011000\n",
      "13 4\n",
      "0000011011000\n",
      "2 1\n",
      "10\n",
      "10 3\n",
      "0111001000\n",
      "12 4\n",
      "110101110001\n",
      "9 4\n",
      "010110000\n",
      "12 3\n",
      "001111101000\n",
      "14 1\n",
      "11011011111111\n",
      "13 4\n",
      "1100001000010\n",
      "9 2\n",
      "110001101\n",
      "6 2\n",
      "100110\n",
      "16 2\n",
      "0110001011110100\n",
      "6 1\n",
      "000110\n",
      "9 4\n",
      "011110100\n",
      "18 4\n",
      "010111001001110100\n",
      "2 3\n",
      "00\n",
      "6 3\n",
      "110110\n",
      "20 1\n",
      "00110001000010000011\n",
      "3 3\n",
      "011\n",
      "4 4\n",
      "0000\n",
      "19 3\n",
      "0111111101100111101\n",
      "10 1\n",
      "0010010110\n",
      "14 4\n",
      "01000111110111\n",
      "8 3\n",
      "11111100\n",
      "8 2\n",
      "10111001\n",
      "6 1\n",
      "000011\n",
      "10 3\n",
      "0100110111\n",
      "14 1\n",
      "10010010100101\n",
      "8 4\n",
      "01010001\n",
      "19 2\n",
      "1000000111110100100\n",
      "14 1\n",
      "11001000001011\n",
      "19 1\n",
      "1011001001111100111\n",
      "19 3\n",
      "0100010100110111010\n",
      "18 4\n",
      "011001011000001001\n",
      "6 3\n",
      "010111\n",
      "14 4\n",
      "01011110100001\n",
      "4 2\n",
      "0101\n",
      "14 3\n",
      "00101000100100\n",
      "10 2\n",
      "1001001001\n",
      "6 4\n",
      "101101\n",
      "5 3\n",
      "10101\n",
      "9 2\n",
      "111000001\n",
      "2 1\n",
      "11\n",
      "18 4\n",
      "101001010111110100\n",
      "15 4\n",
      "100100001001101\n",
      "15 3\n",
      "111101101101010\n",
      "2 2\n",
      "11\n",
      "18 3\n",
      "010010100111100111\n",
      "9 3\n",
      "011011000\n",
      "19 2\n",
      "0001011110110011011\n",
      "19 3\n",
      "0000010100110100100\n",
      "20 4\n",
      "11001000101011011100\n",
      "11 2\n",
      "00111110100\n",
      "15 4\n",
      "110000011000010\n",
      "18 4\n",
      "000100110001011011\n",
      "3 2\n",
      "000\n",
      "18 4\n",
      "100000110101111000\n",
      "17 1\n",
      "00111011100111111\n",
      "16 3\n",
      "0010010001110011\n",
      "17 2\n",
      "00110100000111101\n",
      "19 2\n",
      "0010101011001011001\n",
      "3 2\n",
      "101\n",
      "4 3\n",
      "1101\n",
      "10 3\n",
      "0000000101\n",
      "10 1\n",
      "1101110010\n",
      "9 3\n",
      "011111001\n",
      "9 3\n",
      "100110101\n",
      "6 4\n",
      "110111\n",
      "18 4\n",
      "010101101110100010\n",
      "19 4\n",
      "1110000111111111100\n",
      "20 1\n",
      "10010100100100101011\n",
      "10 3\n",
      "1110111011\n",
      "2 4\n",
      "10\n",
      "18 2\n",
      "011111111101111110\n",
      "18 2\n",
      "100011110110001100\n",
      "14 2\n",
      "01100110100110\n",
      "7 1\n",
      "0000001\n",
      "8 3\n",
      "01000011\n",
      "11 2\n",
      "10000000101\n",
      "8 2\n",
      "00110100\n",
      "16 1\n",
      "1111100100001001\n",
      "8 4\n",
      "00011001\n",
      "17 3\n",
      "11111001101111011\n",
      "17 1\n",
      "10100101001000101\n",
      "20 2\n",
      "10100000001001010111\n",
      "9 3\n",
      "001001011\n",
      "16 2\n",
      "1010010111001111\n",
      "19 1\n",
      "0001010010101111110\n",
      "15 4\n",
      "010111010110111\n",
      "12 4\n",
      "100010011010\n",
      "10 2\n",
      "1011001001\n",
      "10 4\n",
      "1101100010\n",
      "19 2\n",
      "0001101011101110100\n",
      "14 3\n",
      "10110000101010\n",
      "9 2\n",
      "111010100\n",
      "18 4\n",
      "000100110111010101\n",
      "12 2\n",
      "010100001010\n",
      "2 1\n",
      "00\n",
      "5 4\n",
      "00101\n",
      "2 1\n",
      "11\n",
      "8 4\n",
      "11010110\n",
      "15 4\n",
      "011011010101100\n",
      "4 1\n",
      "0001\n",
      "5 4\n",
      "00100\n",
      "8 4\n",
      "01101111\n",
      "4 4\n",
      "1111\n",
      "5 1\n",
      "10100\n",
      "18 4\n",
      "110001111110010111\n",
      "15 3\n",
      "110000111110000\n",
      "6 2\n",
      "100111\n",
      "8 3\n",
      "00001100\n",
      "5 3\n",
      "00000\n",
      "11 4\n",
      "11001011100\n",
      "18 1\n",
      "111100001000001110\n",
      "6 4\n",
      "010010\n",
      "16 1\n",
      "0001100010110010\n",
      "11 3\n",
      "00010001101\n",
      "8 1\n",
      "01111011\n",
      "2 2\n",
      "11\n",
      "9 3\n",
      "000000010\n",
      "17 2\n",
      "00001000110011000\n",
      "6 2\n",
      "001100\n",
      "14 3\n",
      "01001110011101\n",
      "7 2\n",
      "0110011\n",
      "12 4\n",
      "010111100100\n",
      "13 3\n",
      "1001100001110\n",
      "5 4\n",
      "00101\n",
      "10 2\n",
      "0101010110\n",
      "15 2\n",
      "011010100010111\n",
      "15 4\n",
      "000011010110100\n",
      "2 2\n",
      "01\n",
      "13 2\n",
      "0011110000111\n",
      "17 4\n",
      "11100111010111001\n",
      "3 1\n",
      "110\n",
      "15 4\n",
      "101001000110010\n",
      "14 4\n",
      "10000100011110\n",
      "9 4\n",
      "101111100\n",
      "8 1\n",
      "10001000\n",
      "10 1\n",
      "0000010010\n",
      "3 2\n",
      "010\n",
      "5 3\n",
      "11000\n",
      "11 1\n",
      "00000110110\n",
      "15 1\n",
      "110010100000110\n",
      "13 3\n",
      "0111011111111\n",
      "11 2\n",
      "10111100111\n",
      "6 1\n",
      "001110\n",
      "20 2\n",
      "11100000001101110011\n",
      "7 2\n",
      "1000011\n",
      "11 2\n",
      "00000011000\n",
      "19 3\n",
      "1010010100000010011\n",
      "18 1\n",
      "100011100000010010\n",
      "17 2\n",
      "10101110101111010\n",
      "17 3\n",
      "01000110101100010\n",
      "19 2\n",
      "1000110100010101100\n",
      "5 4\n",
      "10110\n",
      "10 1\n",
      "1100010111\n",
      "19 1\n",
      "0000101110100110111\n",
      "17 3\n",
      "11101001011010111\n",
      "14 3\n",
      "11001110001110\n",
      "3 4\n",
      "000\n",
      "20 4\n",
      "00000001000101000010\n",
      "9 1\n",
      "110001011\n",
      "2 1\n",
      "00\n",
      "3 3\n",
      "000\n",
      "11 3\n",
      "11010001111\n",
      "15 3\n",
      "110011101101000\n",
      "16 3\n",
      "1111110101011000\n",
      "2 3\n",
      "00\n",
      "3 2\n",
      "011\n",
      "19 4\n",
      "0010100011100111010\n",
      "5 3\n",
      "00100\n",
      "7 3\n",
      "1010111\n",
      "15 1\n",
      "110010110111111\n",
      "11 2\n",
      "01011111111\n",
      "6 1\n",
      "011110\n",
      "12 4\n",
      "010010100101\n",
      "18 2\n",
      "100111001100011110\n",
      "15 3\n",
      "101001011110001\n",
      "5 3\n",
      "00010\n",
      "10 3\n",
      "0101010110\n",
      "3 1\n",
      "110\n",
      "4 4\n",
      "0111\n",
      "5 2\n",
      "11110\n",
      "5 4\n",
      "01010\n",
      "7 4\n",
      "0100010\n",
      "6 3\n",
      "110100\n",
      "20 1\n",
      "10011011011011101111\n",
      "9 3\n",
      "011100010\n",
      "14 1\n",
      "01000001101011\n",
      "9 1\n",
      "110000010\n",
      "3 3\n",
      "110\n",
      "19 3\n",
      "1100110100110001011\n",
      "14 2\n",
      "11001000011000\n",
      "9 3\n",
      "000111001\n",
      "10 2\n",
      "0011001101\n",
      "5 2\n",
      "10111\n",
      "19 2\n",
      "1101011011001110110\n",
      "3 1\n",
      "000\n",
      "8 3\n",
      "11011000\n",
      "19 1\n",
      "0110001001100010011\n",
      "11 4\n",
      "10101011000\n",
      "12 2\n",
      "011100001111\n",
      "17 1\n",
      "01100010000111001\n",
      "7 1\n",
      "1100100\n",
      "3 1\n",
      "000\n",
      "11 4\n",
      "11000110101\n",
      "9 1\n",
      "001101100\n",
      "19 4\n",
      "1010011111010111000\n",
      "3 1\n",
      "111\n",
      "13 3\n",
      "1111110000110\n",
      "17 1\n",
      "10111111111001011\n",
      "11 2\n",
      "01001000101\n",
      "16 2\n",
      "1110110101010010\n",
      "2 1\n",
      "00\n",
      "20 4\n",
      "11001010000011110010\n",
      "4 3\n",
      "0101\n",
      "7 3\n",
      "0000111\n",
      "15 3\n",
      "111010000100000\n",
      "17 2\n",
      "00110111011111010\n",
      "11 3\n",
      "00011010101\n",
      "18 4\n",
      "100001010000011101\n",
      "15 4\n",
      "000101110010010\n",
      "13 2\n",
      "0011100100110\n",
      "6 4\n",
      "111111\n",
      "6 4\n",
      "010110\n",
      "13 1\n",
      "1000100101111\n",
      "5 4\n",
      "10100\n",
      "12 4\n",
      "000011001001\n",
      "8 2\n",
      "11010011\n",
      "13 4\n",
      "0100000001000\n",
      "19 3\n",
      "0000110111010111110\n",
      "4 4\n",
      "0100\n",
      "9 4\n",
      "110000100\n",
      "17 3\n",
      "01101111100011001\n",
      "6 1\n",
      "110001\n",
      "6 3\n",
      "011011\n",
      "6 1\n",
      "111011\n",
      "20 3\n",
      "00100111110110110100\n",
      "13 2\n",
      "1111000110101\n",
      "4 3\n",
      "1110\n",
      "19 1\n",
      "1000100000100011110\n",
      "7 4\n",
      "0111010\n",
      "17 4\n",
      "10111000100101001\n",
      "16 3\n",
      "1100100010011000\n",
      "17 3\n",
      "01010100110100101\n",
      "16 3\n",
      "1010011100001010\n",
      "13 3\n",
      "0100111010001\n",
      "16 1\n",
      "0001101101011101\n",
      "15 3\n",
      "110111000000101\n",
      "3 3\n",
      "010\n",
      "13 4\n",
      "1011011011110\n",
      "13 3\n",
      "0101011111011\n",
      "18 4\n",
      "101100001000010010\n",
      "10 4\n",
      "1001010110\n",
      "16 4\n",
      "0111111011000010\n",
      "10 3\n",
      "1111010111\n",
      "11 2\n",
      "01110011011\n",
      "6 1\n",
      "010001\n",
      "10 2\n",
      "0110110111\n",
      "3 1\n",
      "101\n",
      "12 3\n",
      "111011110000\n",
      "8 3\n",
      "11001000\n",
      "12 1\n",
      "000100111100\n",
      "13 1\n",
      "1010111011010\n",
      "10 3\n",
      "1001111000\n",
      "4 4\n",
      "1101\n",
      "2 4\n",
      "10\n",
      "11 2\n",
      "00101000111\n",
      "13 3\n",
      "0101011011111\n",
      "14 3\n",
      "10010001010100\n",
      "12 1\n",
      "100000011011\n",
      "16 3\n",
      "1110000000110010\n",
      "16 4\n",
      "1111100100111010\n",
      "13 3\n",
      "0011001111001\n",
      "18 4\n",
      "001100111011001010\n",
      "9 3\n",
      "011011010\n",
      "9 2\n",
      "010101001\n",
      "19 4\n",
      "1100100010001100100\n",
      "11 1\n",
      "00001110000\n",
      "13 4\n",
      "0110000011110\n",
      "11 2\n",
      "10001110111\n",
      "14 3\n",
      "10000011110100\n",
      "11 2\n",
      "00100011001\n",
      "2 1\n",
      "01\n",
      "9 4\n",
      "101111010\n",
      "4 3\n",
      "1001\n",
      "3 1\n",
      "101\n",
      "13 1\n",
      "1000100011001\n",
      "5 4\n",
      "00100\n",
      "9 2\n",
      "000011111\n",
      "5 1\n",
      "01000\n",
      "9 2\n",
      "011000001\n",
      "4 2\n",
      "1100\n",
      "3 2\n",
      "100\n",
      "15 1\n",
      "100001101000100\n",
      "6 3\n",
      "011010\n",
      "8 1\n",
      "11101011\n",
      "19 2\n",
      "1111001100110000001\n",
      "12 4\n",
      "010001010000\n",
      "17 3\n",
      "01001001011110101\n",
      "13 4\n",
      "1000110101011\n",
      "20 4\n",
      "00111010111001010000\n",
      "9 3\n",
      "100100010\n",
      "14 2\n",
      "11111110100100\n",
      "6 2\n",
      "101111\n",
      "12 4\n",
      "110000100110\n",
      "5 3\n",
      "11110\n",
      "4 2\n",
      "1110\n",
      "11 4\n",
      "01000101110\n",
      "15 2\n",
      "001010110111001\n",
      "9 1\n",
      "111100000\n",
      "13 4\n",
      "0000000000100\n",
      "17 1\n",
      "11011000011101110\n",
      "7 2\n",
      "1010000\n",
      "18 4\n",
      "010100110000001001\n",
      "19 2\n",
      "0101001110001010111\n",
      "4 3\n",
      "1101\n",
      "17 3\n",
      "11011011100101010\n",
      "16 1\n",
      "1100110111100110\n",
      "7 4\n",
      "1110101\n",
      "10 3\n",
      "1010011100\n",
      "18 4\n",
      "000111000010101110\n",
      "15 3\n",
      "010110010011101\n",
      "20 1\n",
      "01010111010110101010\n",
      "15 1\n",
      "011010100010011\n",
      "3 2\n",
      "101\n",
      "19 1\n",
      "0101000100000111000\n",
      "12 4\n",
      "010011010010\n",
      "15 4\n",
      "101100001111111\n",
      "11 2\n",
      "10110010100\n",
      "5 4\n",
      "00001\n",
      "10 1\n",
      "1110010111\n",
      "11 4\n",
      "11010101000\n",
      "11 3\n",
      "11111001100\n",
      "12 2\n",
      "101110000001\n",
      "11 2\n",
      "01110000101\n",
      "10 4\n",
      "0110111000\n",
      "20 4\n",
      "01011001000101101111\n",
      "7 4\n",
      "1010010\n",
      "15 2\n",
      "101100111010101\n",
      "14 3\n",
      "01110100001001\n",
      "6 4\n",
      "010011\n",
      "19 1\n",
      "1011000101111100100\n",
      "11 2\n",
      "00101001010\n",
      "17 4\n",
      "00100111110110001\n",
      "3 4\n",
      "111\n",
      "11 1\n",
      "10001110111\n",
      "3 2\n",
      "110\n",
      "11 1\n",
      "01111000101\n",
      "16 3\n",
      "1111110101000110\n",
      "6 1\n",
      "101101\n",
      "4 3\n",
      "0111\n",
      "8 2\n",
      "00110100\n",
      "2 2\n",
      "10\n",
      "5 4\n",
      "10100\n",
      "10 2\n",
      "0110111000\n",
      "10 3\n",
      "1000000011\n",
      "14 3\n",
      "01101101001001\n",
      "15 1\n",
      "011000101011110\n",
      "18 4\n",
      "101011010001100011\n",
      "14 1\n",
      "11001111101010\n",
      "13 1\n",
      "0100001100111\n",
      "3 1\n",
      "101\n",
      "7 4\n",
      "0001100\n",
      "10 3\n",
      "0111100000\n",
      "20 2\n",
      "11111100111111011010\n",
      "7 2\n",
      "0101111\n",
      "13 4\n",
      "0101001010010\n",
      "19 2\n",
      "1110001100101111000\n",
      "16 3\n",
      "0010110101111111\n",
      "2 1\n",
      "00\n",
      "2 3\n",
      "01\n",
      "20 1\n",
      "11101110110010100100\n",
      "3 3\n",
      "101\n",
      "13 2\n",
      "0100100010010\n",
      "9 1\n",
      "000100110\n",
      "9 3\n",
      "110110101\n",
      "2 3\n",
      "11\n",
      "6 2\n",
      "100101\n",
      "12 3\n",
      "100010101110\n",
      "13 1\n",
      "1101110011000\n",
      "5 1\n",
      "00110\n",
      "10 3\n",
      "1001010011\n",
      "14 1\n",
      "11111100101010\n",
      "10 4\n",
      "0001011011\n",
      "12 1\n",
      "011011001000\n",
      "8 2\n",
      "00100010\n",
      "16 2\n",
      "1000011011010101\n",
      "2 2\n",
      "11\n",
      "17 2\n",
      "00111010100000101\n",
      "14 1\n",
      "11100011111010\n",
      "10 4\n",
      "0111000110\n",
      "5 3\n",
      "01101\n",
      "19 4\n",
      "0100110010110101111\n",
      "14 3\n",
      "10000101101110\n",
      "20 2\n",
      "00111000011101001011\n",
      "14 2\n",
      "00011010111000\n",
      "10 2\n",
      "1111000101\n",
      "9 1\n",
      "001110100\n",
      "12 1\n",
      "010011001011\n",
      "17 3\n",
      "10001101111100101\n",
      "17 2\n",
      "00001011110110011\n",
      "19 2\n",
      "0001110100010111000\n",
      "20 3\n",
      "00010001110100110011\n",
      "9 2\n",
      "010000111\n",
      "18 3\n",
      "101010110100010101\n",
      "20 2\n",
      "00111000101011111001\n",
      "8 4\n",
      "00101110\n",
      "2 4\n",
      "01\n",
      "4 4\n",
      "1011\n",
      "15 3\n",
      "111000110010001\n",
      "4 2\n",
      "1110\n",
      "20 3\n",
      "10101000010010100000\n",
      "20 2\n",
      "00111010110010101111\n",
      "16 2\n",
      "0101000011010010\n",
      "13 2\n",
      "0111110000101\n",
      "3 4\n",
      "111\n",
      "14 3\n",
      "10010111010100\n",
      "3 2\n",
      "101\n",
      "12 4\n",
      "110010101111\n",
      "5 2\n",
      "11001\n",
      "11 1\n",
      "11010100111\n",
      "9 1\n",
      "110001011\n",
      "14 4\n",
      "10000010111001\n",
      "18 1\n",
      "101101100101110111\n",
      "15 3\n",
      "101010001000001\n",
      "4 4\n",
      "0001\n",
      "19 2\n",
      "0101010001100000010\n",
      "20 1\n",
      "11001110000110001101\n",
      "8 1\n",
      "11010110\n",
      "3 1\n",
      "001\n",
      "3 3\n",
      "010\n",
      "19 2\n",
      "0101111000000011101\n",
      "12 1\n",
      "100011111001\n",
      "8 3\n",
      "11111110\n",
      "19 3\n",
      "0000100011100001001\n",
      "17 1\n",
      "01011010001011110\n",
      "20 2\n",
      "00111100001000111101\n",
      "17 4\n",
      "00111100110001100\n",
      "13 3\n",
      "0011000111001\n",
      "19 1\n",
      "0100001111010010110\n",
      "16 1\n",
      "0110011100000000\n",
      "17 1\n",
      "11100001010110111\n",
      "10 4\n",
      "1010010100\n",
      "8 2\n",
      "01010100\n",
      "13 2\n",
      "0001110000001\n",
      "18 4\n",
      "111101010100000111\n",
      "20 3\n",
      "01111111101111000100\n",
      "2 4\n",
      "01\n",
      "18 1\n",
      "110000110000101110\n",
      "8 3\n",
      "00110111\n",
      "5 3\n",
      "11110\n",
      "11 3\n",
      "00001101101\n",
      "3 4\n",
      "010\n",
      "11 3\n",
      "10100011110\n",
      "5 4\n",
      "10101\n",
      "5 1\n",
      "11101\n",
      "4 3\n",
      "0110\n",
      "15 1\n",
      "110101101010001\n",
      "13 1\n",
      "0001000101110\n",
      "20 1\n",
      "11000010110011000100\n",
      "2 2\n",
      "00\n",
      "20 4\n",
      "00111011100011101011\n",
      "2 2\n",
      "01\n",
      "16 3\n",
      "0001110000111100\n",
      "2 3\n",
      "00\n",
      "17 4\n",
      "10101100100001111\n",
      "3 2\n",
      "011\n",
      "6 1\n",
      "110111\n",
      "17 1\n",
      "00101100011011010\n",
      "11 3\n",
      "01110111101\n",
      "18 1\n",
      "000011010000001011\n",
      "6 1\n",
      "111100\n",
      "19 3\n",
      "0010001111101001001\n",
      "12 4\n",
      "010100110000\n",
      "6 4\n",
      "111011\n",
      "9 3\n",
      "111000111\n",
      "8 2\n",
      "11001001\n",
      "15 4\n",
      "100100000001011\n",
      "8 3\n",
      "00011100\n",
      "11 2\n",
      "01100111101\n",
      "17 2\n",
      "10111011001000000\n",
      "4 4\n",
      "0001\n",
      "14 3\n",
      "11001000010010\n",
      "19 1\n",
      "1000100010011000110\n",
      "17 2\n",
      "01101111000011101\n",
      "12 3\n",
      "100000000110\n",
      "11 3\n",
      "00000111110\n",
      "11 4\n",
      "10110011001\n",
      "2 4\n",
      "01\n",
      "5 3\n",
      "01101\n",
      "20 2\n",
      "01011111101011010011\n",
      "3 4\n",
      "001\n",
      "15 3\n",
      "010010101001000\n",
      "7 3\n",
      "0111101\n",
      "4 1\n",
      "0001\n",
      "18 1\n",
      "111101010100111011\n",
      "4 3\n",
      "1101\n",
      "4 2\n",
      "0011\n",
      "8 2\n",
      "01010010\n",
      "8 1\n",
      "00111101\n",
      "5 1\n",
      "01111\n",
      "13 2\n",
      "1010101001001\n",
      "4 3\n",
      "0111\n",
      "5 4\n",
      "01011\n",
      "12 1\n",
      "100110111111\n",
      "10 1\n",
      "1101010000\n",
      "18 2\n",
      "111011101101001111\n",
      "9 4\n",
      "101110010\n",
      "4 4\n",
      "1000\n",
      "3 1\n",
      "000\n",
      "19 2\n",
      "1001010001011001100\n",
      "3 2\n",
      "100\n",
      "19 1\n",
      "0010111011100100010\n",
      "17 4\n",
      "10001111000101110\n",
      "8 4\n",
      "11001000\n",
      "8 1\n",
      "10100000\n",
      "16 3\n",
      "0110101101100111\n",
      "17 3\n",
      "11110100101011100\n",
      "14 1\n",
      "00101001101111\n",
      "12 3\n",
      "011010101001\n",
      "13 2\n",
      "0000101001010\n",
      "2 1\n",
      "10\n",
      "17 1\n",
      "11001011101010110\n",
      "5 4\n",
      "10100\n",
      "9 4\n",
      "010001011\n",
      "20 3\n",
      "00111000111010000011\n",
      "16 3\n",
      "1101010101111001\n",
      "20 4\n",
      "10110001101110001100\n",
      "20 4\n",
      "11110000101000100101\n",
      "2 2\n",
      "00\n",
      "12 4\n",
      "001010000000\n",
      "2 3\n",
      "10\n",
      "19 2\n",
      "1110000011010101101\n",
      "20 2\n",
      "01101100011001100001\n",
      "11 4\n",
      "11001001111\n",
      "8 2\n",
      "11011000\n",
      "14 1\n",
      "00101000100010\n",
      "6 1\n",
      "010010\n",
      "8 2\n",
      "01111100\n",
      "18 4\n",
      "001101001001110010\n",
      "15 3\n",
      "111100110000100\n",
      "12 1\n",
      "110001001110\n",
      "9 4\n",
      "101010001\n",
      "19 2\n",
      "1101110111101111111\n",
      "11 2\n",
      "11101100011\n",
      "19 1\n",
      "0001010110001000110\n",
      "7 3\n",
      "0100100\n",
      "15 2\n",
      "110001001001110\n",
      "16 1\n",
      "0001000010011011\n",
      "11 2\n",
      "01110111111\n",
      "7 3\n",
      "0000011\n",
      "11 1\n",
      "01111111001\n",
      "20 1\n",
      "01101101010010101100\n",
      "2 3\n",
      "11\n",
      "20 1\n",
      "10111000000000011001\n",
      "19 3\n",
      "0011011011011110110\n",
      "5 3\n",
      "11011\n",
      "12 3\n",
      "000110110100\n",
      "3 2\n",
      "111\n",
      "9 1\n",
      "111011101\n",
      "16 3\n",
      "1000111010110101\n",
      "17 3\n",
      "00101110010111000\n",
      "9 4\n",
      "111101010\n",
      "5 2\n",
      "01000\n",
      "18 4\n",
      "111010111101001110\n",
      "20 4\n",
      "10111111100111110010\n",
      "18 2\n",
      "110011101011111100\n",
      "8 1\n",
      "11111010\n",
      "16 1\n",
      "0001100110011100\n",
      "16 3\n",
      "1010000011011011\n",
      "11 2\n",
      "11011101001\n",
      "8 3\n",
      "01000011\n",
      "17 2\n",
      "10101101111000101\n",
      "6 2\n",
      "111001\n",
      "18 1\n",
      "001111110011100101\n",
      "4 1\n",
      "0001\n",
      "3 3\n",
      "011\n",
      "15 4\n",
      "001111001000000\n",
      "14 2\n",
      "11110011011001\n",
      "11 3\n",
      "01011010001\n",
      "16 1\n",
      "0110001001000101\n",
      "8 4\n",
      "01010111\n",
      "6 1\n",
      "000101\n",
      "8 3\n",
      "10111101\n",
      "20 2\n",
      "01001001110010100101\n",
      "3 4\n",
      "110\n",
      "16 2\n",
      "1111100001001000\n",
      "15 2\n",
      "010010101111011\n",
      "16 4\n",
      "0000110101110010\n",
      "17 3\n",
      "10101010011100001\n",
      "6 1\n",
      "101000\n",
      "12 2\n",
      "000011010111\n",
      "2 2\n",
      "10\n",
      "19 4\n",
      "1101101010001100111\n",
      "2 2\n",
      "11\n",
      "14 2\n",
      "10000110100010\n",
      "2 2\n",
      "00\n",
      "13 1\n",
      "1010000001011\n",
      "7 3\n",
      "0000011\n",
      "5 4\n",
      "11001\n",
      "11 3\n",
      "10101000101\n",
      "3 3\n",
      "100\n",
      "2 2\n",
      "10\n",
      "3 2\n",
      "111\n",
      "5 2\n",
      "10111\n",
      "18 4\n",
      "011101001000011010\n",
      "5 4\n",
      "01011\n",
      "9 2\n",
      "011110110\n",
      "16 4\n",
      "0100011011000111\n",
      "15 3\n",
      "010101111111010\n",
      "14 4\n",
      "10111100101110\n",
      "11 3\n",
      "10001000101\n",
      "14 2\n",
      "00101110000100\n",
      "8 2\n",
      "00001101\n",
      "8 1\n",
      "01011111\n",
      "15 3\n",
      "110001010011111\n",
      "2 2\n",
      "00\n",
      "10 2\n",
      "0011101010\n",
      "3 1\n",
      "100\n",
      "2 1\n",
      "11\n",
      "12 4\n",
      "100001100100\n",
      "18 4\n",
      "011100101111001110\n",
      "17 4\n",
      "00011110111011101\n",
      "4 2\n",
      "1100\n",
      "12 1\n",
      "000100000100\n",
      "20 3\n",
      "10010101111111001101\n",
      "6 1\n",
      "101110\n",
      "8 2\n",
      "10011001\n",
      "11 1\n",
      "00000101100\n",
      "2 1\n",
      "10\n",
      "20 1\n",
      "00011110101011000100\n",
      "4 3\n",
      "1111\n",
      "7 3\n",
      "0010010\n",
      "5 2\n",
      "00111\n",
      "11 3\n",
      "10010010111\n",
      "11 4\n",
      "11110001010\n",
      "12 3\n",
      "001001101101\n",
      "19 1\n",
      "1000011001101110010\n",
      "16 2\n",
      "0100010010110010\n",
      "3 1\n",
      "100\n",
      "17 2\n",
      "11101100011010000\n",
      "8 1\n",
      "00110000\n",
      "9 3\n",
      "010000110\n",
      "3 3\n",
      "110\n",
      "13 1\n",
      "1100101111000\n",
      "5 1\n",
      "11010\n",
      "17 1\n",
      "11001101011001110\n",
      "20 4\n",
      "00011011110110011110\n",
      "10 2\n",
      "0101111000\n",
      "4 4\n",
      "0000\n",
      "5 4\n",
      "00011\n",
      "17 1\n",
      "00111010111001010\n",
      "3 1\n",
      "110\n",
      "20 2\n",
      "00001101101101000011\n",
      "9 3\n",
      "011001010\n",
      "17 1\n",
      "00110111010010101\n",
      "8 1\n",
      "00010000\n",
      "20 2\n",
      "00110011011001001011\n",
      "6 2\n",
      "011000\n",
      "3 4\n",
      "010\n",
      "10 3\n",
      "0000001111\n",
      "14 3\n",
      "00000010010000\n",
      "10 4\n",
      "1001101111\n",
      "14 3\n",
      "00111110111001\n",
      "19 2\n",
      "0000111101110010001\n",
      "18 4\n",
      "010110010110000111\n",
      "15 2\n",
      "101001010001111\n",
      "11 4\n",
      "01111001100\n",
      "6 4\n",
      "110101\n",
      "6 4\n",
      "101011\n",
      "12 2\n",
      "001110110100\n",
      "15 2\n",
      "001001010101011\n",
      "8 2\n",
      "10000000\n",
      "5 2\n",
      "10110\n",
      "20 4\n",
      "11000000110000011111\n",
      "20 1\n",
      "10111010001101011000\n",
      "18 1\n",
      "100101110000110010\n",
      "14 4\n",
      "11001111100101\n",
      "17 3\n",
      "00001010101101100\n",
      "12 3\n",
      "011111010101\n",
      "19 2\n",
      "0010100101100100100\n",
      "4 4\n",
      "1011\n",
      "5 3\n",
      "10101\n",
      "6 1\n",
      "010101\n",
      "17 1\n",
      "01101100101111111\n",
      "16 4\n",
      "0111011010011010\n",
      "19 3\n",
      "0010001110010010010\n",
      "10 1\n",
      "0000110111\n",
      "17 2\n",
      "11001011100000000\n",
      "13 1\n",
      "0111100001101\n",
      "6 2\n",
      "010100\n",
      "14 3\n",
      "01100011101110\n",
      "4 4\n",
      "1110\n",
      "4 1\n",
      "1100\n",
      "17 1\n",
      "11001101010010010\n",
      "2 3\n",
      "01\n",
      "8 1\n",
      "11110010\n",
      "9 1\n",
      "000000010\n",
      "8 2\n",
      "10100111\n",
      "12 2\n",
      "100011000001\n",
      "7 1\n",
      "0100100\n",
      "8 4\n",
      "10010001\n",
      "3 4\n",
      "001\n",
      "5 4\n",
      "11101\n",
      "8 1\n",
      "11000100\n",
      "2 4\n",
      "01\n",
      "16 1\n",
      "0100001001000011\n",
      "12 2\n",
      "101001000110\n",
      "7 4\n",
      "0001000\n",
      "4 1\n",
      "0111\n",
      "16 4\n",
      "0011000011011000\n",
      "7 3\n",
      "0110100\n",
      "18 4\n",
      "011010110111011100\n",
      "7 2\n",
      "0000100\n",
      "6 4\n",
      "101011\n",
      "19 4\n",
      "0111010000011001001\n",
      "15 1\n",
      "000000010110011\n",
      "14 2\n",
      "00001011110011\n",
      "4 2\n",
      "0011\n",
      "20 4\n",
      "01001010000010110010\n",
      "12 2\n",
      "011100111011\n",
      "3 1\n",
      "001\n",
      "5 4\n",
      "11001\n",
      "8 2\n",
      "01010000\n",
      "5 2\n",
      "00111\n",
      "2 3\n",
      "11\n",
      "13 4\n",
      "1001010101001\n",
      "4 1\n",
      "1111\n",
      "9 3\n",
      "101010110\n",
      "15 3\n",
      "000111000100001\n",
      "12 3\n",
      "011000111000\n",
      "17 4\n",
      "01110100111101101\n",
      "18 3\n",
      "000000000101001001\n",
      "15 4\n",
      "001101010100111\n",
      "17 3\n",
      "01001011111001111\n",
      "13 3\n",
      "1100101000110\n",
      "13 2\n",
      "1110101100111\n",
      "20 2\n",
      "00001101101110101101\n",
      "16 1\n",
      "0100000101000100\n",
      "14 4\n",
      "11110001110001\n",
      "11 2\n",
      "00100000010\n",
      "18 1\n",
      "110100110010110111\n",
      "17 3\n",
      "11011111011011011\n",
      "20 3\n",
      "01111101001010001110\n",
      "17 4\n",
      "00011111000101001\n",
      "16 3\n",
      "1001110111110110\n",
      "15 4\n",
      "001001110010111\n",
      "2 3\n",
      "10\n",
      "9 1\n",
      "010011111\n",
      "16 3\n",
      "1010101000000110\n",
      "7 1\n",
      "1100011\n",
      "3 4\n",
      "100\n",
      "16 3\n",
      "0010110110001111\n",
      "7 2\n",
      "0000111\n",
      "3 4\n",
      "101\n",
      "16 2\n",
      "0100110111111000\n",
      "13 1\n",
      "1110010101101\n",
      "14 4\n",
      "11010110010101\n",
      "17 1\n",
      "00110001111001010\n",
      "12 3\n",
      "110000000011\n",
      "5 2\n",
      "01111\n",
      "15 4\n",
      "000000111101001\n",
      "2 2\n",
      "10\n",
      "16 2\n",
      "1010100101000110\n",
      "4 4\n",
      "0111\n",
      "14 1\n",
      "11100100000010\n",
      "2 2\n",
      "01\n",
      "7 4\n",
      "1111100\n",
      "18 4\n",
      "001101001101001000\n",
      "15 3\n",
      "010111001000000\n",
      "5 3\n",
      "10000\n",
      "5 4\n",
      "11011\n",
      "4 3\n",
      "1011\n",
      "10 3\n",
      "1001001101\n",
      "20 4\n",
      "00110110110100011101\n",
      "15 1\n",
      "010000100110011\n",
      "14 3\n",
      "00010011110011\n",
      "13 3\n",
      "1111111000111\n",
      "4 4\n",
      "0001\n",
      "16 3\n",
      "1011100010110010\n",
      "20 2\n",
      "00101000110001101111\n",
      "10 4\n",
      "0001101000\n",
      "6 2\n",
      "101010\n",
      "16 1\n",
      "1101011101001101\n",
      "16 2\n",
      "1101010000010111\n",
      "7 1\n",
      "0001100\n",
      "4 1\n",
      "1110\n",
      "20 4\n",
      "10101111110110111011\n",
      "7 1\n",
      "0001011\n",
      "17 4\n",
      "00001011111010110\n",
      "8 2\n",
      "01011010\n",
      "17 3\n",
      "00000100000000000\n",
      "11 4\n",
      "00000001110\n",
      "16 4\n",
      "1100011010100101\n",
      "3 2\n",
      "111\n",
      "5 1\n",
      "01011\n",
      "11 1\n",
      "01001101011\n",
      "15 1\n",
      "110110011110010\n",
      "3 3\n",
      "111\n",
      "12 2\n",
      "001001011111\n",
      "15 4\n",
      "100101101011101\n",
      "16 1\n",
      "0111001000111001\n",
      "10 3\n",
      "1111000010\n",
      "10 3\n",
      "0011000000\n",
      "6 3\n",
      "011101\n",
      "5 2\n",
      "00011\n",
      "14 3\n",
      "00100111001001\n",
      "3 4\n",
      "011\n",
      "2 2\n",
      "10\n",
      "13 2\n",
      "1001100011101\n",
      "4 2\n",
      "0001\n",
      "19 3\n",
      "1101001110110111011\n",
      "10 4\n",
      "0010011010\n",
      "16 2\n",
      "1111100110001000\n",
      "20 3\n",
      "01001011100101001100\n",
      "4 3\n",
      "1101\n",
      "15 3\n",
      "110000010001110\n",
      "8 2\n",
      "10010111\n",
      "14 3\n",
      "10010010001100\n",
      "10 4\n",
      "0010100110\n",
      "4 4\n",
      "1010\n",
      "14 4\n",
      "11010011110001\n",
      "11 2\n",
      "01001101011\n",
      "18 3\n",
      "000011100110010111\n",
      "9 2\n",
      "000001000\n",
      "18 2\n",
      "001111110000101101\n",
      "11 2\n",
      "11011110100\n",
      "17 1\n",
      "00010001000001111\n",
      "15 4\n",
      "001010000000010\n",
      "9 1\n",
      "000001110\n",
      "12 2\n",
      "100111011111\n",
      "16 2\n",
      "1000010110001110\n",
      "16 3\n",
      "0101101011101010\n",
      "20 2\n",
      "10011110110001111001\n",
      "7 1\n",
      "1000111\n",
      "7 4\n",
      "1011111\n",
      "19 1\n",
      "1110011100110110111\n",
      "2 3\n",
      "10\n",
      "7 3\n",
      "0010000\n",
      "19 1\n",
      "1001100110111010101\n",
      "13 1\n",
      "1100111111001\n",
      "11 4\n",
      "01001101100\n",
      "4 4\n",
      "1011\n",
      "7 2\n",
      "1101101\n",
      "19 2\n",
      "1110011101011011100\n",
      "17 1\n",
      "00110100010011000\n",
      "19 1\n",
      "0010001100110111010\n",
      "12 3\n",
      "100111000000\n",
      "20 4\n",
      "00010111000010111110\n",
      "16 1\n",
      "1110000010010110\n",
      "15 4\n",
      "100011010100100\n",
      "3 3\n",
      "101\n",
      "10 1\n",
      "0110011101\n",
      "20 1\n",
      "11111100111111001001\n",
      "14 1\n",
      "01101110110100\n",
      "19 2\n",
      "1000111110001001011\n",
      "14 2\n",
      "00100001010000\n",
      "8 3\n",
      "11100011\n",
      "20 2\n",
      "01010101011101010001\n",
      "10 1\n",
      "0110011110\n",
      "6 4\n",
      "111001\n",
      "11 2\n",
      "11100101010\n",
      "4 4\n",
      "1101\n",
      "16 4\n",
      "1011101010100101\n",
      "12 1\n",
      "101010010100\n",
      "19 4\n",
      "1000011010110011010\n",
      "8 4\n",
      "01001101\n",
      "20 1\n",
      "10010110010100101100\n",
      "5 3\n",
      "01011\n",
      "10 1\n",
      "0100101000\n",
      "12 1\n",
      "111001111101\n",
      "15 1\n",
      "001110111101110\n",
      "9 4\n",
      "010110010\n",
      "12 2\n",
      "101111100011\n",
      "8 4\n",
      "01010100\n",
      "7 1\n",
      "1100000\n",
      "9 2\n",
      "011100110\n",
      "10 4\n",
      "1001011011\n",
      "18 1\n",
      "001011010010010010\n",
      "10 2\n",
      "1101111100\n",
      "20 4\n",
      "00011000011110010000\n",
      "12 4\n",
      "001010011110\n",
      "5 2\n",
      "11111\n",
      "20 1\n",
      "10010011110000100110\n",
      "11 1\n",
      "00000100010\n",
      "3 2\n",
      "100\n",
      "20 1\n",
      "00011011111001100101\n",
      "4 3\n",
      "1000\n",
      "3 4\n",
      "011\n",
      "11 4\n",
      "01001101111\n",
      "6 4\n",
      "110101\n",
      "12 4\n",
      "110111001010\n",
      "7 1\n",
      "1111000\n",
      "3 3\n",
      "111\n",
      "20 3\n",
      "00000011001110001010\n",
      "3 3\n",
      "011\n",
      "11 4\n",
      "10110000010\n",
      "9 3\n",
      "011101101\n",
      "3 1\n",
      "011\n",
      "12 4\n",
      "111110111011\n",
      "15 2\n",
      "100101100111100\n",
      "10 3\n",
      "0111111110\n",
      "6 2\n",
      "111010\n",
      "7 3\n",
      "1111100\n",
      "13 1\n",
      "0001000010111\n",
      "5 3\n",
      "00110\n",
      "7 1\n",
      "1000110\n",
      "17 1\n",
      "01100100001111100\n",
      "11 3\n",
      "10111100101\n",
      "2 4\n",
      "00\n",
      "6 1\n",
      "100001\n",
      "15 2\n",
      "011111111000000\n",
      "4 3\n",
      "1111\n",
      "3 1\n",
      "011\n",
      "20 2\n",
      "11000010000010110000\n",
      "6 4\n",
      "010010\n",
      "16 3\n",
      "0111001010011101\n",
      "11 3\n",
      "11111110010\n",
      "7 3\n",
      "0010001\n",
      "9 3\n",
      "001111010\n",
      "6 1\n",
      "010110\n",
      "3 3\n",
      "101\n",
      "16 1\n",
      "1010010100111101\n",
      "7 2\n",
      "1100110\n",
      "17 3\n",
      "11000010111100111\n",
      "19 2\n",
      "1010110110010010111\n",
      "5 3\n",
      "01000\n",
      "20 2\n",
      "11010110000010110000\n",
      "5 1\n",
      "00001\n",
      "11 4\n",
      "00110110111\n",
      "9 4\n",
      "001111101\n",
      "11 2\n",
      "00101111000\n",
      "10 2\n",
      "0010100100\n",
      "9 1\n",
      "010111011\n",
      "10 1\n",
      "0010110000\n",
      "3 1\n",
      "101\n",
      "17 2\n",
      "10000010010100111\n",
      "5 4\n",
      "10010\n",
      "5 3\n",
      "01011\n",
      "9 2\n",
      "100110100\n",
      "8 4\n",
      "11001010\n",
      "11 4\n",
      "11101000011\n",
      "13 3\n",
      "1100111110011\n",
      "15 2\n",
      "010011010001001\n",
      "19 3\n",
      "1010011001001010011\n",
      "11 3\n",
      "00100111110\n",
      "15 2\n",
      "010011100101110\n",
      "7 4\n",
      "1101101\n",
      "19 2\n",
      "0011111001100010000\n",
      "6 2\n",
      "111110\n",
      "18 4\n",
      "000100100011011101\n",
      "2 1\n",
      "01\n",
      "9 1\n",
      "101101010\n",
      "11 4\n",
      "11101111001\n",
      "19 1\n",
      "0101101110101010110\n",
      "8 4\n",
      "11111011\n",
      "15 3\n",
      "001101010111011\n",
      "16 2\n",
      "1010110111011010\n",
      "18 3\n",
      "101101000111011001\n",
      "6 1\n",
      "010001\n",
      "15 3\n",
      "110100010010001\n",
      "20 3\n",
      "00011111000100011101\n",
      "9 1\n",
      "001001000\n",
      "12 1\n",
      "000010010000\n",
      "19 4\n",
      "1111000110011110010\n",
      "7 4\n",
      "1110110\n",
      "14 2\n",
      "11110110011111\n",
      "20 1\n",
      "01101111110111010100\n",
      "2 2\n",
      "10\n",
      "6 2\n",
      "010101\n",
      "17 2\n",
      "10000011101101000\n",
      "6 3\n",
      "000000\n",
      "3 1\n",
      "101\n",
      "12 3\n",
      "001010000111\n",
      "6 2\n",
      "001101\n",
      "9 4\n",
      "011001010\n",
      "20 1\n",
      "00101101010001000110\n",
      "15 3\n",
      "011101010010101\n",
      "10 2\n",
      "1011001001\n",
      "17 3\n",
      "10010111011001000\n",
      "5 3\n",
      "01111\n",
      "2 1\n",
      "01\n",
      "17 4\n",
      "00111001001101010\n",
      "11 3\n",
      "01101110101\n",
      "6 2\n",
      "110000\n",
      "3 3\n",
      "111\n",
      "12 2\n",
      "000111011110\n",
      "3 3\n",
      "101\n",
      "18 2\n",
      "110001110011010010\n",
      "8 1\n",
      "01001011\n",
      "19 2\n",
      "1111010100000110000\n",
      "5 1\n",
      "10100\n",
      "15 4\n",
      "000001010000110\n",
      "7 1\n",
      "0100110\n",
      "12 3\n",
      "011000000001\n",
      "11 1\n",
      "00101000011\n",
      "5 4\n",
      "11010\n",
      "13 1\n",
      "1111011111011\n",
      "15 3\n",
      "000111100000010\n",
      "8 2\n",
      "01001000\n",
      "8 1\n",
      "00001001\n",
      "20 4\n",
      "10011110101110100001\n",
      "17 3\n",
      "01010010000010100\n",
      "19 2\n",
      "1001111100111100011\n",
      "13 4\n",
      "1100111001110\n",
      "9 4\n",
      "000101111\n",
      "7 3\n",
      "0110101\n",
      "18 4\n",
      "001010001001101100\n",
      "4 3\n",
      "1100\n",
      "14 2\n",
      "00100111000101\n",
      "8 1\n",
      "00101000\n",
      "17 3\n",
      "10111000100001011\n",
      "17 4\n",
      "10100001011000011\n",
      "5 3\n",
      "00110\n",
      "2 3\n",
      "10\n",
      "10 1\n",
      "1000011110\n",
      "12 3\n",
      "111100011001\n",
      "15 2\n",
      "011110101111110\n",
      "15 3\n",
      "000101111011000\n",
      "13 3\n",
      "1000111110111\n",
      "5 3\n",
      "01101\n",
      "16 2\n",
      "1111111110001100\n",
      "12 2\n",
      "110100111010\n",
      "6 4\n",
      "011110\n",
      "2 1\n",
      "10\n",
      "5 3\n",
      "11011\n",
      "13 3\n",
      "1000100111101\n",
      "19 4\n",
      "0001111111101111100\n",
      "8 3\n",
      "11000001\n",
      "5 2\n",
      "00011\n",
      "13 4\n",
      "0101010010100\n",
      "12 3\n",
      "010110100011\n",
      "12 4\n",
      "000000000111\n",
      "3 1\n",
      "011\n",
      "10 4\n",
      "0001000001\n",
      "4 3\n",
      "1100\n",
      "5 3\n",
      "01101\n",
      "16 3\n",
      "0101011011111000\n",
      "11 3\n",
      "11111010000\n",
      "4 3\n",
      "1101\n",
      "9 1\n",
      "100110101\n",
      "17 3\n",
      "00000010100110001\n",
      "7 4\n",
      "0100111\n",
      "2 3\n",
      "11\n",
      "4 2\n",
      "1101\n",
      "19 4\n",
      "1100000011000010110\n",
      "3 4\n",
      "110\n",
      "20 4\n",
      "11100110001001001001\n",
      "17 2\n",
      "00110110101110011\n",
      "17 1\n",
      "00001101110010110\n",
      "8 4\n",
      "01011001\n",
      "6 2\n",
      "000111\n",
      "6 3\n",
      "010011\n",
      "18 3\n",
      "011011010101010110\n",
      "8 4\n",
      "00111000\n",
      "13 4\n",
      "0001011001011\n",
      "18 3\n",
      "100101000011110100\n",
      "16 1\n",
      "0111110001011100\n",
      "10 2\n",
      "1101000101\n",
      "13 2\n",
      "0010001111111\n",
      "6 3\n",
      "111010\n",
      "14 4\n",
      "11011101010001\n",
      "17 2\n",
      "00100100101011011\n",
      "15 4\n",
      "011001000010010\n",
      "8 3\n",
      "00101111\n",
      "17 4\n",
      "11110000010000001\n",
      "16 4\n",
      "0011110010111011\n",
      "17 3\n",
      "10110010111101101\n",
      "12 1\n",
      "110111000010\n",
      "15 2\n",
      "100000000110110\n",
      "14 2\n",
      "10001010110010\n",
      "3 4\n",
      "011\n",
      "4 3\n",
      "1000\n",
      "2 3\n",
      "00\n",
      "17 3\n",
      "11110011001010000\n",
      "17 4\n",
      "11001111111111110\n",
      "7 1\n",
      "0010110\n",
      "14 4\n",
      "10011101000001\n",
      "11 4\n",
      "10101010010\n",
      "16 3\n",
      "0010010011111010\n",
      "17 3\n",
      "11010000100000110\n",
      "19 3\n",
      "1111001110010101101\n",
      "4 2\n",
      "1001\n",
      "15 4\n",
      "111001111101011\n",
      "13 3\n",
      "0101011001110\n",
      "11 1\n",
      "01011010000\n",
      "7 3\n",
      "1001101\n",
      "13 4\n",
      "0100010111000\n",
      "19 1\n",
      "0011101110100110000\n",
      "2 3\n",
      "01\n",
      "4 1\n",
      "1100\n",
      "14 2\n",
      "10010100111111\n",
      "17 1\n",
      "00011101000110001\n",
      "2 4\n",
      "01\n",
      "12 1\n",
      "010001011001\n",
      "15 1\n",
      "001011100110110\n",
      "6 4\n",
      "001100\n",
      "20 4\n",
      "01011110100000010000\n",
      "6 2\n",
      "001001\n",
      "8 2\n",
      "10001101\n",
      "3 4\n",
      "011\n",
      "7 1\n",
      "0110000\n",
      "15 3\n",
      "110111111111000\n",
      "11 1\n",
      "00100000000\n",
      "9 3\n",
      "100010110\n",
      "17 3\n",
      "00010101100010111\n",
      "6 2\n",
      "111100\n",
      "2 1\n",
      "10\n",
      "9 3\n",
      "111011101\n",
      "14 1\n",
      "00011101000000\n",
      "5 4\n",
      "01110\n",
      "15 1\n",
      "011010110010010\n",
      "16 1\n",
      "0010001110110101\n",
      "9 2\n",
      "100011100\n",
      "10 3\n",
      "1110010111\n",
      "15 4\n",
      "011000101000101\n",
      "20 1\n",
      "00010010000101001001\n",
      "19 3\n",
      "1101000110010100100\n",
      "19 4\n",
      "0011010111101111000\n",
      "20 2\n",
      "10001010100100011001\n",
      "5 4\n",
      "11000\n",
      "9 4\n",
      "101100001\n",
      "6 4\n",
      "000010\n",
      "7 1\n",
      "0010111\n",
      "19 2\n",
      "0111010001001111111\n",
      "11 2\n",
      "01101010011\n",
      "5 1\n",
      "01000\n",
      "20 4\n",
      "01100110100010011110\n",
      "9 3\n",
      "101100100\n",
      "20 2\n",
      "01001010000000110010\n",
      "8 1\n",
      "00100000\n",
      "19 2\n",
      "0011001001001011111\n",
      "7 2\n",
      "1000011\n",
      "6 2\n",
      "000010\n",
      "11 3\n",
      "11100010110\n",
      "10 4\n",
      "1111101000\n",
      "10 3\n",
      "1000100101\n",
      "20 2\n",
      "11100000001001000101\n",
      "18 3\n",
      "101101001111100110\n",
      "2 4\n",
      "00\n",
      "12 1\n",
      "001010000010\n",
      "7 1\n",
      "0010010\n",
      "9 4\n",
      "110110010\n",
      "15 4\n",
      "110011011011001\n",
      "13 3\n",
      "1011111100010\n",
      "12 1\n",
      "000110000000\n",
      "4 4\n",
      "1111\n",
      "9 3\n",
      "110110010\n",
      "13 3\n",
      "0011100111010\n",
      "3 2\n",
      "000\n",
      "8 2\n",
      "11010011\n",
      "20 3\n",
      "01011000101111000000\n",
      "10 3\n",
      "1011001001\n",
      "15 4\n",
      "000011101011100\n",
      "2 1\n",
      "10\n",
      "16 2\n",
      "1001000110111010\n",
      "15 2\n",
      "011111110010010\n",
      "3 4\n",
      "101\n",
      "7 2\n",
      "0001010\n",
      "20 1\n",
      "01101111111011011001\n",
      "14 4\n",
      "10100101100000\n",
      "11 4\n",
      "11100001000\n",
      "3 2\n",
      "011\n",
      "7 3\n",
      "0100110\n",
      "13 1\n",
      "0011001100001\n",
      "19 2\n",
      "0101101100010010101\n",
      "8 1\n",
      "11000110\n",
      "6 4\n",
      "101101\n",
      "8 2\n",
      "10011100\n",
      "5 3\n",
      "00110\n",
      "20 3\n",
      "01010100111000101111\n",
      "3 1\n",
      "011\n",
      "5 1\n",
      "11011\n",
      "14 3\n",
      "11011101000111\n",
      "2 4\n",
      "11\n",
      "19 4\n",
      "1100100000001011110\n",
      "4 3\n",
      "0101\n",
      "17 3\n",
      "00001101010010011\n",
      "17 2\n",
      "01100110000001110\n",
      "14 2\n",
      "10101011100100\n",
      "12 4\n",
      "000111001001\n",
      "9 1\n",
      "101001100\n",
      "10 3\n",
      "0100001011\n",
      "6 1\n",
      "100000\n",
      "16 3\n",
      "1010110011001000\n",
      "15 1\n",
      "101100000101001\n",
      "14 3\n",
      "00100011001101\n",
      "12 3\n",
      "010011000010\n",
      "16 1\n",
      "1111000000001000\n",
      "4 2\n",
      "0010\n",
      "6 4\n",
      "100101\n",
      "18 2\n",
      "011101101001001100\n",
      "9 1\n",
      "100100101\n",
      "15 1\n",
      "100101111011110\n",
      "7 4\n",
      "1111110\n",
      "7 1\n",
      "0110111\n",
      "20 2\n",
      "01100101001011111110\n",
      "12 1\n",
      "010111100111\n",
      "19 4\n",
      "0111100010010100001\n",
      "9 1\n",
      "000110001\n",
      "8 2\n",
      "10001111\n",
      "19 2\n",
      "1000000110010011111\n",
      "2 4\n",
      "00\n",
      "9 3\n",
      "100010110\n",
      "14 2\n",
      "11110110000010\n",
      "7 2\n",
      "0111111\n",
      "4 3\n",
      "0100\n",
      "8 1\n",
      "11101110\n",
      "11 4\n",
      "00011000111\n",
      "6 1\n",
      "011001\n",
      "20 1\n",
      "11110100001100000111\n",
      "14 2\n",
      "01110001001100\n",
      "19 1\n",
      "0100101001111000101\n",
      "19 4\n",
      "1101110011100001101\n",
      "16 3\n",
      "0111110010011101\n",
      "19 4\n",
      "0110000111101000011\n",
      "19 4\n",
      "0100011110001100101\n",
      "17 2\n",
      "01101101100010100\n",
      "15 2\n",
      "000101000101101\n",
      "5 3\n",
      "10101\n",
      "11 2\n",
      "10001000101\n",
      "19 1\n",
      "1011110000111000110\n",
      "20 4\n",
      "10011001100000001111\n",
      "18 3\n",
      "010111001100001011\n",
      "18 3\n",
      "001100001110010100\n",
      "18 4\n",
      "111000110000111011\n",
      "5 2\n",
      "00010\n",
      "14 2\n",
      "10101000001001\n",
      "5 4\n",
      "10110\n",
      "9 2\n",
      "110001001\n",
      "5 1\n",
      "00101\n",
      "11 2\n",
      "10101100000\n",
      "14 3\n",
      "01111111001011\n",
      "2 4\n",
      "10\n",
      "18 2\n",
      "101010111110111111\n",
      "13 4\n",
      "1011111010101\n",
      "18 1\n",
      "101101001001010111\n",
      "14 4\n",
      "00001111111111\n",
      "15 4\n",
      "010100100110000\n",
      "7 1\n",
      "0000011\n",
      "3 1\n",
      "101\n",
      "2 1\n",
      "01\n",
      "6 3\n",
      "011010\n",
      "11 2\n",
      "01011110100\n",
      "7 1\n",
      "1100000\n",
      "18 3\n",
      "101011101000110001\n",
      "14 4\n",
      "01100101101001\n",
      "7 1\n",
      "0000011\n",
      "4 1\n",
      "1101\n",
      "9 1\n",
      "101000100\n",
      "12 1\n",
      "010111010011\n",
      "13 1\n",
      "1010100000110\n",
      "20 2\n",
      "10011011000101111111\n",
      "3 1\n",
      "001\n",
      "14 4\n",
      "11110011010000\n",
      "9 4\n",
      "000110001\n",
      "3 1\n",
      "011\n",
      "13 3\n",
      "1100100100011\n",
      "8 1\n",
      "11111110\n",
      "3 4\n",
      "100\n",
      "13 2\n",
      "1101001011110\n",
      "14 2\n",
      "10110001011101\n",
      "13 4\n",
      "0110010100100\n",
      "17 2\n",
      "10000010011000010\n",
      "10 2\n",
      "0101000101\n",
      "16 2\n",
      "1101001000011000\n",
      "7 1\n",
      "0101000\n",
      "2 4\n",
      "00\n",
      "12 2\n",
      "101000001110\n",
      "17 2\n",
      "10001001000010001\n",
      "11 1\n",
      "11000011110\n",
      "10 2\n",
      "1001001110\n",
      "2 3\n",
      "00\n",
      "20 1\n",
      "10000000100111110101\n",
      "14 1\n",
      "00000101101100\n",
      "6 4\n",
      "111100\n",
      "17 4\n",
      "10101001110100101\n",
      "19 1\n",
      "1001100010111011101\n",
      "18 1\n",
      "011111111001111110\n",
      "9 3\n",
      "000101011\n",
      "5 2\n",
      "10110\n",
      "13 4\n",
      "1010100001010\n",
      "12 1\n",
      "110110011000\n",
      "10 1\n",
      "0011010110\n",
      "18 3\n",
      "110101101000011110\n",
      "11 3\n",
      "01101001001\n",
      "9 3\n",
      "011110110\n",
      "5 3\n",
      "11110\n",
      "2 1\n",
      "00\n",
      "7 2\n",
      "0100001\n",
      "9 4\n",
      "110011010\n",
      "17 1\n",
      "11100111111100110\n",
      "8 2\n",
      "10001011\n",
      "15 3\n",
      "000111011000100\n",
      "17 4\n",
      "01000011000100111\n",
      "2 4\n",
      "10\n",
      "5 2\n",
      "00110\n",
      "6 2\n",
      "100110\n",
      "17 2\n",
      "00001010000011000\n",
      "20 3\n",
      "10000010001111101010\n",
      "12 1\n",
      "010011100000\n",
      "16 4\n",
      "0110011110111010\n",
      "2 1\n",
      "10\n",
      "18 2\n",
      "100011100101111101\n",
      "8 2\n",
      "10110101\n",
      "4 1\n",
      "1010\n",
      "9 3\n",
      "011010000\n",
      "7 1\n",
      "1011110\n",
      "8 4\n",
      "11111100\n",
      "13 4\n",
      "1001001010101\n",
      "17 4\n",
      "01010100110110110\n",
      "8 3\n",
      "11100010\n",
      "4 3\n",
      "0100\n",
      "7 4\n",
      "0110110\n",
      "13 4\n",
      "1011011110111\n",
      "3 3\n",
      "011\n",
      "16 1\n",
      "1010111000011110\n",
      "2 4\n",
      "01\n",
      "15 4\n",
      "101100000001000\n",
      "14 3\n",
      "01010000000110\n",
      "10 1\n",
      "1000000001\n",
      "4 4\n",
      "1000\n",
      "2 3\n",
      "11\n",
      "14 3\n",
      "11100010110110\n",
      "14 4\n",
      "01101001001001\n",
      "6 2\n",
      "011011\n",
      "13 1\n",
      "1010001011110\n",
      "15 1\n",
      "100100100110111\n",
      "11 3\n",
      "10011100010\n",
      "9 1\n",
      "011011110\n",
      "19 3\n",
      "0111110010011010101\n",
      "4 4\n",
      "1010\n",
      "15 2\n",
      "100001100010000\n",
      "6 3\n",
      "000101\n",
      "16 1\n",
      "0101111010110010\n",
      "2 1\n",
      "11\n",
      "12 1\n",
      "110111110110\n",
      "9 3\n",
      "000011111\n",
      "17 4\n",
      "00110001000011011\n",
      "14 3\n",
      "11111010100000\n",
      "16 2\n",
      "0110101100110000\n",
      "4 4\n",
      "1111\n",
      "17 1\n",
      "00101100100101010\n",
      "6 4\n",
      "110000\n",
      "16 4\n",
      "1101100110100111\n",
      "12 2\n",
      "110001000000\n",
      "15 3\n",
      "011011110101110\n",
      "7 3\n",
      "0100010\n",
      "9 1\n",
      "101010011\n",
      "6 1\n",
      "000001\n",
      "17 3\n",
      "00000111101001101\n",
      "18 1\n",
      "011100111100001010\n",
      "20 4\n",
      "11110101100010100100\n",
      "13 1\n",
      "1110000110011\n",
      "20 1\n",
      "01110000000111111011\n",
      "9 4\n",
      "110110100\n",
      "19 3\n",
      "0100010110011000000\n",
      "14 1\n",
      "01110111101011\n",
      "11 2\n",
      "00011011011\n",
      "17 4\n",
      "11010101100011111\n",
      "3 3\n",
      "111\n",
      "16 1\n",
      "0010111001001001\n",
      "2 4\n",
      "01\n",
      "13 3\n",
      "0110001010001\n",
      "14 1\n",
      "00110100100110\n",
      "2 1\n",
      "10\n",
      "10 4\n",
      "1001010011\n",
      "7 4\n",
      "0101101\n",
      "4 3\n",
      "0001\n",
      "19 1\n",
      "0111101011011111001\n",
      "18 1\n",
      "001000010100110010\n",
      "16 1\n",
      "1001101110100100\n",
      "5 3\n",
      "01110\n",
      "8 4\n",
      "01011100\n",
      "10 1\n",
      "1000001011\n",
      "5 2\n",
      "10001\n",
      "9 3\n",
      "001100111\n",
      "3 3\n",
      "000\n",
      "11 3\n",
      "11101000101\n",
      "5 4\n",
      "11111\n",
      "4 2\n",
      "1110\n",
      "12 3\n",
      "100001110110\n",
      "9 2\n",
      "100001111\n",
      "15 1\n",
      "110111111001010\n",
      "2 2\n",
      "01\n",
      "17 2\n",
      "00110100000010101\n",
      "20 1\n",
      "00111011110001000101\n",
      "5 1\n",
      "10011\n",
      "6 1\n",
      "000010\n",
      "20 1\n",
      "10001100110100101001\n",
      "2 3\n",
      "11\n",
      "17 3\n",
      "01000001010111111\n",
      "4 4\n",
      "1011\n",
      "17 4\n",
      "11001110010101001\n",
      "16 1\n",
      "0101111100011110\n",
      "8 2\n",
      "01111101\n",
      "18 1\n",
      "100000010010011101\n",
      "4 1\n",
      "1000\n",
      "12 3\n",
      "011001101001\n",
      "17 4\n",
      "00101101111010011\n",
      "4 1\n",
      "0011\n",
      "14 2\n",
      "00001111101111\n",
      "2 3\n",
      "01\n",
      "9 3\n",
      "110110000\n",
      "9 3\n",
      "101010110\n",
      "15 1\n",
      "010011111001001\n",
      "3 2\n",
      "001\n",
      "5 2\n",
      "00001\n",
      "16 2\n",
      "0110001100011100\n",
      "12 3\n",
      "101011111000\n",
      "7 3\n",
      "0101101\n",
      "7 3\n",
      "1100000\n",
      "7 1\n",
      "0011101\n",
      "17 1\n",
      "10011100001100010\n",
      "20 1\n",
      "01111111111111010111\n",
      "13 3\n",
      "0011010010100\n",
      "16 2\n",
      "1010101100011111\n",
      "6 2\n",
      "100111\n",
      "20 1\n",
      "01010101001111101001\n",
      "11 4\n",
      "11101011110\n",
      "7 2\n",
      "1000111\n",
      "15 4\n",
      "111111001111011\n",
      "7 4\n",
      "1100110\n",
      "6 2\n",
      "110101\n",
      "3 3\n",
      "101\n",
      "11 3\n",
      "00011101001\n",
      "15 4\n",
      "110111011001100\n",
      "19 2\n",
      "1000100001100011111\n",
      "7 4\n",
      "0110110\n",
      "6 3\n",
      "111101\n",
      "3 2\n",
      "111\n",
      "17 4\n",
      "01010001110110000\n",
      "3 1\n",
      "010\n",
      "19 4\n",
      "0100100100001101010\n",
      "8 4\n",
      "10100001\n",
      "14 2\n",
      "10111101100100\n",
      "12 3\n",
      "111001100011\n",
      "13 2\n",
      "0010011011100\n",
      "6 2\n",
      "001111\n",
      "10 4\n",
      "1010011000\n",
      "6 1\n",
      "011110\n",
      "9 1\n",
      "100110100\n",
      "11 1\n",
      "01111111001\n",
      "17 3\n",
      "10011110101001010\n",
      "17 2\n",
      "10000011011001000\n",
      "8 2\n",
      "01001000\n",
      "18 3\n",
      "110011010101001110\n",
      "16 2\n",
      "0101111111111111\n",
      "2 1\n",
      "11\n",
      "14 1\n",
      "01110001101010\n",
      "6 4\n",
      "000110\n",
      "14 4\n",
      "10010100110000\n",
      "15 2\n",
      "100010000010000\n",
      "14 2\n",
      "11001010000010\n",
      "18 4\n",
      "010010110100100110\n",
      "17 2\n",
      "11101001111100010\n",
      "17 2\n",
      "10011001101110010\n",
      "12 4\n",
      "000111111000\n",
      "10 2\n",
      "0101101111\n",
      "9 2\n",
      "011000111\n",
      "6 1\n",
      "000110\n",
      "17 1\n",
      "11011110110011111\n",
      "15 2\n",
      "100001100010010\n",
      "17 3\n",
      "00100000001010111\n",
      "8 2\n",
      "11110001\n",
      "4 3\n",
      "0101\n",
      "15 3\n",
      "000011010000110\n",
      "20 4\n",
      "01100010001010011011\n",
      "5 2\n",
      "01110\n",
      "6 2\n",
      "110101\n",
      "6 1\n",
      "011101\n",
      "13 1\n",
      "0100100101100\n",
      "15 2\n",
      "010101100100011\n",
      "17 4\n",
      "00000011110111110\n",
      "12 2\n",
      "111111001110\n",
      "15 2\n",
      "101110010010001\n",
      "16 4\n",
      "1100111111100010\n",
      "18 1\n",
      "110011001100000111\n",
      "7 2\n",
      "1101001\n",
      "17 1\n",
      "01000101111111010\n",
      "13 3\n",
      "1100110101011\n",
      "6 1\n",
      "110110\n",
      "19 1\n",
      "1000100011100111110\n",
      "11 2\n",
      "11110001010\n",
      "17 2\n",
      "10110001101110001\n",
      "5 3\n",
      "01101\n",
      "3 2\n",
      "101\n",
      "13 4\n",
      "0001110010101\n",
      "11 2\n",
      "10110001010\n",
      "20 4\n",
      "10100110000001101011\n",
      "12 1\n",
      "110110100010\n",
      "7 1\n",
      "1101001\n",
      "8 3\n",
      "00001001\n",
      "11 2\n",
      "01110100100\n",
      "6 4\n",
      "101111\n",
      "9 1\n",
      "010010101\n",
      "15 1\n",
      "001111100001001\n",
      "6 3\n",
      "110011\n",
      "2 3\n",
      "00\n",
      "18 3\n",
      "110110001100000011\n",
      "11 2\n",
      "00000100101\n",
      "9 2\n",
      "011100111\n",
      "10 4\n",
      "1000100100\n",
      "5 3\n",
      "10111\n",
      "6 4\n",
      "101001\n",
      "10 3\n",
      "1001101101\n",
      "5 2\n",
      "11001\n",
      "13 1\n",
      "0111100101011\n",
      "5 3\n",
      "11101\n",
      "14 3\n",
      "11011001111110\n",
      "5 1\n",
      "00110\n",
      "2 3\n",
      "11\n",
      "4 1\n",
      "1100\n",
      "3 4\n",
      "001\n",
      "8 4\n",
      "11100100\n",
      "2 2\n",
      "11\n",
      "11 1\n",
      "11111001111\n",
      "5 4\n",
      "01111\n",
      "18 2\n",
      "010010100011001011\n",
      "14 3\n",
      "10000000011100\n",
      "14 4\n",
      "11111111001000\n",
      "19 4\n",
      "0111100100000000110\n",
      "16 1\n",
      "1110010011100011\n",
      "8 4\n",
      "11011000\n",
      "19 2\n",
      "1010101010110010111\n",
      "16 2\n",
      "0111110000110011\n",
      "13 1\n",
      "1010010100000\n",
      "20 4\n",
      "10000000000101001110\n",
      "12 2\n",
      "111010101011\n",
      "9 2\n",
      "001011000\n",
      "16 3\n",
      "0110101100100101\n",
      "11 1\n",
      "01001110111\n",
      "14 4\n",
      "00000110011111\n",
      "8 2\n",
      "10101001\n",
      "8 4\n",
      "10101001\n",
      "3 4\n",
      "111\n",
      "17 1\n",
      "11111110000110001\n",
      "12 3\n",
      "001111101001\n",
      "3 2\n",
      "001\n",
      "8 4\n",
      "11011011\n",
      "17 1\n",
      "11100101000001100\n",
      "2 2\n",
      "10\n",
      "19 4\n",
      "0000110010111111100\n",
      "2 3\n",
      "01\n",
      "4 3\n",
      "1110\n",
      "15 4\n",
      "000110001011011\n",
      "4 3\n",
      "1000\n",
      "2 1\n",
      "00\n",
      "9 3\n",
      "000111110\n",
      "19 3\n",
      "1011101000110011110\n",
      "20 3\n",
      "01001101000101101000\n",
      "18 2\n",
      "011000110001011010\n",
      "16 1\n",
      "1010001111100000\n",
      "6 3\n",
      "101111\n",
      "13 3\n",
      "0001111000000\n",
      "15 1\n",
      "001011101100000\n",
      "4 1\n",
      "0101\n",
      "6 2\n",
      "000111\n",
      "10 3\n",
      "1011011011\n",
      "2 1\n",
      "01\n",
      "7 4\n",
      "0010010\n",
      "15 2\n",
      "011111101101010\n",
      "13 1\n",
      "0011101010001\n",
      "12 1\n",
      "110010001010\n",
      "15 4\n",
      "011111010110111\n",
      "14 3\n",
      "10110111111100\n",
      "9 4\n",
      "110001110\n",
      "6 2\n",
      "011000\n",
      "9 2\n",
      "101011000\n",
      "17 3\n",
      "00110000001000001\n",
      "18 1\n",
      "001011111001110011\n",
      "17 1\n",
      "00011001011011100\n",
      "7 4\n",
      "0001100\n",
      "3 1\n",
      "100\n",
      "15 1\n",
      "000111100111110\n",
      "10 4\n",
      "1111100001\n",
      "19 1\n",
      "1010101101111001110\n",
      "19 4\n",
      "1110101010011111101\n",
      "10 3\n",
      "0110111011\n",
      "18 2\n",
      "001011010011010111\n",
      "3 3\n",
      "011\n",
      "10 1\n",
      "1111010100\n",
      "19 4\n",
      "1001001101111011100\n",
      "4 2\n",
      "0011\n",
      "20 2\n",
      "10101101000110000100\n",
      "16 2\n",
      "1001110000001011\n",
      "7 4\n",
      "0000110\n",
      "9 4\n",
      "010001001\n",
      "6 1\n",
      "111001\n",
      "16 2\n",
      "0111101010110001\n",
      "6 3\n",
      "010101\n",
      "7 1\n",
      "0100000\n",
      "8 4\n",
      "01100010\n",
      "14 3\n",
      "10000101101111\n",
      "2 3\n",
      "11\n",
      "8 4\n",
      "01010000\n",
      "19 4\n",
      "1111100100010001111\n",
      "9 4\n",
      "101001011\n",
      "12 4\n",
      "111010000100\n",
      "3 4\n",
      "100\n",
      "2 1\n",
      "11\n",
      "10 4\n",
      "0101011011\n",
      "10 2\n",
      "0110001110\n",
      "14 4\n",
      "00100100111011\n",
      "14 2\n",
      "00010111101101\n",
      "5 3\n",
      "11011\n",
      "12 3\n",
      "110111101110\n",
      "18 3\n",
      "001001101101000101\n",
      "2 2\n",
      "00\n",
      "9 2\n",
      "101111010\n",
      "15 2\n",
      "111011101010010\n",
      "5 2\n",
      "11101\n",
      "7 1\n",
      "0011111\n",
      "20 2\n",
      "10011010111111000010\n",
      "8 1\n",
      "00001001\n",
      "5 2\n",
      "11010\n",
      "16 3\n",
      "0101001101011101\n",
      "19 1\n",
      "1110000110100111001\n",
      "12 2\n",
      "000110010111\n",
      "19 4\n",
      "1001100111101111100\n",
      "20 4\n",
      "00100110011110100001\n",
      "13 4\n",
      "1010000111111\n",
      "17 4\n",
      "01110101010100000\n",
      "20 2\n",
      "01100100100100100101\n",
      "7 1\n",
      "1101101\n",
      "19 1\n",
      "0011010101000111110\n",
      "8 4\n",
      "11010010\n",
      "20 3\n",
      "00001001111010111110\n",
      "6 4\n",
      "101000\n",
      "9 4\n",
      "001001110\n",
      "6 4\n",
      "100111\n",
      "7 4\n",
      "0000111\n",
      "18 2\n",
      "001110100011001111\n",
      "14 2\n",
      "01101010011000\n",
      "6 2\n",
      "100110\n",
      "10 4\n",
      "1101001111\n",
      "4 2\n",
      "1110\n",
      "18 4\n",
      "010101000110001011\n",
      "6 3\n",
      "110100\n",
      "18 3\n",
      "111101101110110101\n",
      "2 3\n",
      "11\n",
      "13 3\n",
      "1111010111010\n",
      "12 2\n",
      "100111001000\n",
      "2 1\n",
      "10\n",
      "11 3\n",
      "00010101011\n",
      "17 3\n",
      "01001110001100100\n",
      "19 4\n",
      "1101100100011011110\n",
      "16 2\n",
      "1110001001101110\n",
      "18 2\n",
      "010101100111101000\n",
      "19 3\n",
      "0100011100100011101\n",
      "7 2\n",
      "1110011\n",
      "4 4\n",
      "1011\n",
      "12 3\n",
      "100100001010\n",
      "18 4\n",
      "001110000111110111\n",
      "5 4\n",
      "01111\n",
      "13 2\n",
      "1000111101000\n",
      "15 2\n",
      "100001010110001\n",
      "14 4\n",
      "00100101011000\n",
      "19 2\n",
      "1101101110101010111\n",
      "4 4\n",
      "0011\n",
      "13 4\n",
      "1110010111000\n",
      "4 4\n",
      "1110\n",
      "8 1\n",
      "01010000\n",
      "12 3\n",
      "100000111111\n",
      "17 4\n",
      "00110000101110110\n",
      "2 3\n",
      "00\n",
      "6 4\n",
      "111010\n",
      "17 2\n",
      "10011011010100001\n",
      "19 2\n",
      "1010011001011010101\n",
      "9 2\n",
      "111000000\n",
      "14 3\n",
      "00011100100011\n",
      "4 4\n",
      "1110\n",
      "12 3\n",
      "010001110110\n",
      "3 1\n",
      "110\n",
      "16 3\n",
      "1111111000001010\n",
      "11 2\n",
      "01011110011\n",
      "14 3\n",
      "01000110010110\n",
      "20 3\n",
      "01100111011010111000\n",
      "11 2\n",
      "01111001001\n",
      "5 3\n",
      "11010\n",
      "16 3\n",
      "0001010101100100\n",
      "11 3\n",
      "10100111111\n",
      "6 1\n",
      "000100\n",
      "16 4\n",
      "1111111011110001\n",
      "14 2\n",
      "10000100111010\n",
      "20 3\n",
      "00001100001110000111\n",
      "17 3\n",
      "10000111010010010\n",
      "12 2\n",
      "100110001001\n",
      "11 4\n",
      "01010000010\n",
      "17 4\n",
      "11111101000010010\n",
      "8 4\n",
      "01000010\n",
      "4 3\n",
      "1010\n",
      "11 2\n",
      "01101101001\n",
      "10 4\n",
      "0010000101\n",
      "3 1\n",
      "111\n",
      "15 4\n",
      "100110001111001\n",
      "16 2\n",
      "0010001001101100\n",
      "19 2\n",
      "0101101101011101100\n",
      "8 4\n",
      "00000011\n",
      "17 3\n",
      "10011111110010101\n",
      "15 3\n",
      "001100011101000\n",
      "4 4\n",
      "1101\n",
      "10 2\n",
      "0011010100\n",
      "5 2\n",
      "01010\n",
      "6 4\n",
      "001011\n",
      "20 4\n",
      "00001111011100111100\n",
      "3 3\n",
      "111\n",
      "4 3\n",
      "0101\n",
      "13 2\n",
      "0110100010111\n",
      "17 4\n",
      "00010001101101001\n",
      "9 4\n",
      "100001111\n",
      "19 4\n",
      "1111001110010001111\n",
      "20 4\n",
      "00101100111011100011\n",
      "4 3\n",
      "1010\n",
      "13 3\n",
      "1101011010110\n",
      "16 1\n",
      "0101001100110010\n",
      "17 3\n",
      "11011000001000111\n",
      "18 2\n",
      "010011001100110110\n",
      "13 1\n",
      "0010110001100\n",
      "14 1\n",
      "10111010110000\n",
      "9 1\n",
      "110100001\n",
      "2 4\n",
      "10\n",
      "10 4\n",
      "0011000101\n",
      "7 2\n",
      "1101101\n",
      "17 1\n",
      "11011000010000110\n",
      "17 2\n",
      "01100011000100010\n",
      "8 3\n",
      "11111001\n",
      "7 1\n",
      "1101011\n",
      "15 4\n",
      "101111101001111\n",
      "15 4\n",
      "111011001010100\n",
      "5 4\n",
      "00100\n",
      "16 2\n",
      "1001111100101010\n",
      "16 3\n",
      "1010110010001010\n",
      "8 4\n",
      "11000100\n",
      "18 2\n",
      "011111000101010101\n",
      "7 4\n",
      "1000110\n",
      "18 1\n",
      "101101111001100100\n",
      "6 3\n",
      "010011\n",
      "13 2\n",
      "0101111001010\n",
      "15 1\n",
      "110001011101000\n",
      "15 3\n",
      "011010101101111\n",
      "16 4\n",
      "1010100110010111\n",
      "4 3\n",
      "1001\n",
      "17 1\n",
      "11000001011010110\n",
      "19 4\n",
      "0001001010111000111\n",
      "14 3\n",
      "01011100011100\n",
      "15 4\n",
      "001010000010010\n",
      "20 2\n",
      "10110011111011111010\n",
      "15 4\n",
      "110111011101000\n",
      "11 1\n",
      "10111010111\n",
      "6 2\n",
      "000011\n",
      "11 1\n",
      "00001110101\n",
      "4 3\n",
      "1001\n",
      "20 4\n",
      "01111100110101011111\n",
      "10 3\n",
      "0001111100\n",
      "3 3\n",
      "100\n",
      "8 1\n",
      "11110011\n",
      "11 1\n",
      "11001111101\n",
      "14 3\n",
      "00111001001101\n",
      "12 3\n",
      "000001100010\n",
      "6 2\n",
      "101101\n",
      "19 3\n",
      "0010100000111100001\n",
      "7 1\n",
      "1010100\n",
      "15 3\n",
      "111010101011011\n",
      "11 3\n",
      "11001000011\n",
      "5 4\n",
      "01001\n",
      "9 3\n",
      "100010001\n",
      "10 4\n",
      "0110101011\n",
      "6 3\n",
      "011100\n",
      "17 2\n",
      "01100111101010100\n",
      "19 1\n",
      "0110010001010011010\n",
      "13 3\n",
      "1100100111110\n",
      "7 2\n",
      "1000001\n",
      "14 4\n",
      "11101011110011\n",
      "7 2\n",
      "1010100\n",
      "9 3\n",
      "100110011\n",
      "4 1\n",
      "0001\n",
      "17 1\n",
      "00001100110111001\n",
      "19 1\n",
      "0001010001100001000\n",
      "20 4\n",
      "11001100100101100000\n",
      "19 4\n",
      "0010000011000001101\n",
      "6 2\n",
      "001111\n",
      "9 3\n",
      "011101000\n",
      "11 1\n",
      "00100011111\n",
      "13 2\n",
      "1001011000111\n",
      "16 4\n",
      "0101100110011011\n",
      "20 4\n",
      "00111000001000000001\n",
      "8 4\n",
      "11000110\n",
      "4 3\n",
      "1011\n",
      "15 1\n",
      "100000111000111\n",
      "20 4\n",
      "10010011000011010011\n",
      "14 2\n",
      "01110110011001\n",
      "10 4\n",
      "1110110001\n",
      "2 4\n",
      "00\n",
      "3 3\n",
      "001\n",
      "15 4\n",
      "001011001011010\n",
      "12 3\n",
      "011100000101\n",
      "6 4\n",
      "101010\n",
      "9 2\n",
      "101001001\n",
      "12 1\n",
      "100011010111\n",
      "17 2\n",
      "10100000111000001\n",
      "4 3\n",
      "1111\n",
      "5 1\n",
      "01110\n",
      "7 4\n",
      "1100100\n",
      "14 4\n",
      "10111001010111\n",
      "13 3\n",
      "0000101001111\n",
      "8 3\n",
      "11100100\n",
      "17 4\n",
      "11000001111011011\n",
      "4 2\n",
      "0110\n",
      "2 3\n",
      "00\n",
      "7 4\n",
      "1011000\n",
      "20 2\n",
      "01001101000111011011\n",
      "17 4\n",
      "10101001011111110\n",
      "17 3\n",
      "10100001101111100\n",
      "7 3\n",
      "0111110\n",
      "3 1\n",
      "000\n",
      "7 2\n",
      "0110111\n",
      "20 1\n",
      "11101011010011011100\n",
      "12 2\n",
      "100010001101\n",
      "8 4\n",
      "01000100\n",
      "6 3\n",
      "101000\n",
      "3 4\n",
      "100\n",
      "3 2\n",
      "000\n",
      "2 4\n",
      "11\n",
      "6 4\n",
      "011001\n",
      "9 3\n",
      "111101001\n",
      "3 2\n",
      "100\n",
      "15 3\n",
      "101100010101111\n",
      "6 3\n",
      "010000\n",
      "18 3\n",
      "110001100101111000\n",
      "2 3\n",
      "01\n",
      "16 1\n",
      "1100111110110001\n",
      "16 2\n",
      "1000110100100111\n",
      "16 4\n",
      "0110111101100111\n",
      "3 4\n",
      "110\n",
      "7 1\n",
      "0011011\n",
      "2 2\n",
      "10\n",
      "11 2\n",
      "11001101101\n",
      "12 3\n",
      "011001010111\n",
      "9 2\n",
      "101111000\n",
      "14 2\n",
      "10111110000010\n",
      "2 4\n",
      "11\n",
      "13 2\n",
      "1011110101100\n",
      "5 4\n",
      "10011\n",
      "5 1\n",
      "01111\n",
      "15 1\n",
      "011010101011011\n",
      "14 3\n",
      "00101100011100\n",
      "18 4\n",
      "110111101111110011\n",
      "10 2\n",
      "0111010001\n",
      "6 3\n",
      "111010\n",
      "3 3\n",
      "101\n",
      "15 2\n",
      "011011000001010\n",
      "6 4\n",
      "100100\n",
      "8 4\n",
      "11011110\n",
      "5 3\n",
      "11001\n",
      "13 1\n",
      "0100110101001\n",
      "12 4\n",
      "000001001110\n",
      "12 1\n",
      "000001101000\n",
      "2 3\n",
      "10\n",
      "9 3\n",
      "011010000\n",
      "14 1\n",
      "01011110010000\n",
      "6 4\n",
      "011110\n",
      "4 2\n",
      "0010\n",
      "20 2\n",
      "01010001011011010011\n",
      "17 3\n",
      "00110111010001100\n",
      "8 4\n",
      "00001010\n",
      "10 4\n",
      "1001100011\n",
      "16 4\n",
      "1010100110010000\n",
      "5 4\n",
      "10100\n",
      "17 1\n",
      "00111001111100010\n",
      "11 2\n",
      "11111011110\n",
      "14 2\n",
      "11110111010100\n",
      "20 3\n",
      "11010111100101011000\n",
      "17 4\n",
      "00011010101100100\n",
      "14 4\n",
      "11001011101100\n",
      "5 2\n",
      "11011\n",
      "13 2\n",
      "1010111010100\n",
      "12 1\n",
      "100101011011\n",
      "12 3\n",
      "111000101101\n",
      "9 4\n",
      "110111111\n",
      "6 2\n",
      "011011\n",
      "14 3\n",
      "01111101111111\n",
      "6 4\n",
      "000001\n",
      "3 4\n",
      "110\n",
      "20 3\n",
      "00101111001100100111\n",
      "14 1\n",
      "00000101111000\n",
      "19 3\n",
      "1100111101001010100\n",
      "11 4\n",
      "01000111110\n",
      "14 4\n",
      "00110111101111\n",
      "14 4\n",
      "00010110001011\n",
      "10 4\n",
      "0100100010\n",
      "5 4\n",
      "10001\n",
      "6 2\n",
      "000110\n",
      "16 4\n",
      "1110011101101100\n",
      "6 4\n",
      "010101\n",
      "18 4\n",
      "011010001100011011\n",
      "2 1\n",
      "00\n",
      "12 1\n",
      "110011111100\n",
      "8 3\n",
      "11011010\n",
      "6 4\n",
      "001000\n",
      "8 2\n",
      "11010110\n",
      "7 3\n",
      "0100100\n",
      "16 2\n",
      "0001010100000010\n",
      "15 2\n",
      "100001011000001\n",
      "15 1\n",
      "101110111010110\n",
      "3 4\n",
      "001\n",
      "4 4\n",
      "0001\n",
      "3 4\n",
      "110\n",
      "5 2\n",
      "10101\n",
      "9 1\n",
      "101001011\n",
      "12 4\n",
      "001001001110\n",
      "4 4\n",
      "1010\n",
      "8 4\n",
      "10001111\n",
      "5 2\n",
      "10111\n",
      "12 3\n",
      "110010101110\n",
      "2 3\n",
      "01\n",
      "18 3\n",
      "110000011100011011\n",
      "19 2\n",
      "1110101010001111100\n",
      "7 1\n",
      "0101100\n",
      "9 2\n",
      "100100000\n",
      "8 4\n",
      "11011001\n",
      "17 2\n",
      "10011110011000001\n",
      "3 1\n",
      "100\n",
      "11 4\n",
      "00101111011\n",
      "10 4\n",
      "0101000001\n",
      "5 2\n",
      "10011\n",
      "3 3\n",
      "011\n",
      "15 3\n",
      "101111001000010\n",
      "5 3\n",
      "10010\n",
      "10 1\n",
      "1000101010\n",
      "18 1\n",
      "100111001000001100\n",
      "12 1\n",
      "001010001000\n",
      "18 3\n",
      "000100010010011000\n",
      "8 1\n",
      "10011011\n",
      "10 2\n",
      "1100000010\n",
      "19 3\n",
      "1001100011010011110\n",
      "10 2\n",
      "1110111110\n",
      "13 1\n",
      "0110010001111\n",
      "2 2\n",
      "01\n",
      "20 4\n",
      "00100101000111110110\n",
      "7 1\n",
      "1011000\n",
      "11 1\n",
      "00011000100\n",
      "19 3\n",
      "1000110001111001101\n",
      "15 2\n",
      "011100010000000\n",
      "8 1\n",
      "10101001\n",
      "5 3\n",
      "10100\n",
      "6 4\n",
      "000000\n",
      "18 4\n",
      "000010011011100101\n",
      "17 3\n",
      "11000111100001101\n",
      "15 1\n",
      "011101010000100\n",
      "9 3\n",
      "000000010\n",
      "10 2\n",
      "0001100001\n",
      "16 1\n",
      "0110001010111001\n",
      "15 2\n",
      "111110111101101\n",
      "20 1\n",
      "10001010100100011000\n",
      "20 2\n",
      "10011000100100011010\n",
      "9 4\n",
      "011101011\n",
      "9 4\n",
      "000111111\n",
      "11 4\n",
      "11000000100\n",
      "16 4\n",
      "0000111011100101\n",
      "9 1\n",
      "000111010\n",
      "2 1\n",
      "11\n",
      "7 1\n",
      "0110011\n",
      "9 3\n",
      "101000010\n",
      "20 1\n",
      "10100000011011001011\n",
      "2 3\n",
      "00\n",
      "19 4\n",
      "1000101100111011011\n",
      "20 3\n",
      "00010011010000100000\n",
      "2 2\n",
      "10\n",
      "9 4\n",
      "001010101\n",
      "13 1\n",
      "0110101011000\n",
      "4 2\n",
      "0001\n",
      "17 3\n",
      "01001100001100100\n",
      "8 3\n",
      "00110111\n",
      "12 2\n",
      "110001011110\n",
      "13 3\n",
      "0100001100010\n",
      "8 1\n",
      "00011010\n",
      "20 4\n",
      "11110001000000101101\n",
      "19 2\n",
      "0001111001100000111\n",
      "2 4\n",
      "11\n",
      "6 3\n",
      "111011\n",
      "10 1\n",
      "1010110000\n",
      "10 1\n",
      "1000101000\n",
      "15 3\n",
      "111101111111111\n",
      "17 2\n",
      "10000101101000000\n",
      "16 3\n",
      "0010100011100110\n",
      "20 4\n",
      "10100110110101011010\n",
      "10 4\n",
      "0000111100\n",
      "3 4\n",
      "100\n",
      "2 4\n",
      "00\n",
      "6 2\n",
      "101110\n",
      "6 1\n",
      "001100\n",
      "14 1\n",
      "11010111011100\n",
      "9 3\n",
      "001110000\n",
      "10 2\n",
      "1000001101\n",
      "10 4\n",
      "1011010000\n",
      "10 1\n",
      "1100111111\n",
      "14 2\n",
      "11011110110101\n",
      "2 3\n",
      "00\n",
      "4 1\n",
      "1110\n",
      "20 3\n",
      "00100110100111111001\n",
      "10 2\n",
      "0101010001\n",
      "11 2\n",
      "01010111001\n",
      "15 2\n",
      "101000111010100\n",
      "6 2\n",
      "001001\n",
      "14 2\n",
      "00011011001110\n",
      "10 4\n",
      "1001110011\n",
      "5 3\n",
      "11011\n",
      "14 3\n",
      "00010111101010\n",
      "5 4\n",
      "11111\n",
      "2 1\n",
      "00\n",
      "20 4\n",
      "11000010100011000001\n",
      "16 2\n",
      "1001001100110100\n",
      "8 3\n",
      "01101011\n",
      "6 2\n",
      "111100\n",
      "4 2\n",
      "0110\n",
      "4 4\n",
      "0010\n",
      "18 2\n",
      "000010010110011011\n",
      "9 1\n",
      "110111101\n",
      "16 3\n",
      "1000011110010000\n",
      "4 1\n",
      "0001\n",
      "2 3\n",
      "00\n",
      "19 4\n",
      "0100000111001010100\n",
      "8 4\n",
      "01111010\n",
      "18 4\n",
      "101110111001110011\n",
      "2 4\n",
      "11\n",
      "3 4\n",
      "000\n",
      "16 2\n",
      "1000101011111110\n",
      "11 4\n",
      "00111000100\n",
      "7 3\n",
      "0010110\n",
      "3 1\n",
      "101\n",
      "5 4\n",
      "00111\n",
      "10 2\n",
      "1011001011\n",
      "17 2\n",
      "01100111000010000\n",
      "11 2\n",
      "10110101000\n",
      "11 1\n",
      "10111111100\n",
      "12 3\n",
      "111111011000\n",
      "2 4\n",
      "10\n",
      "16 1\n",
      "0111110001010111\n",
      "14 2\n",
      "00000101101011\n",
      "14 4\n",
      "11010010011001\n",
      "5 2\n",
      "10011\n",
      "13 3\n",
      "1001100010101\n",
      "20 2\n",
      "00100101001100011110\n",
      "4 2\n",
      "1000\n",
      "6 1\n",
      "111100\n",
      "2 1\n",
      "00\n",
      "5 4\n",
      "00001\n",
      "14 2\n",
      "00001011100011\n",
      "20 4\n",
      "11011001011111011000\n",
      "17 2\n",
      "00101011111101101\n",
      "13 1\n",
      "1000000111000\n",
      "9 3\n",
      "111111111\n",
      "17 3\n",
      "00101000111100010\n",
      "14 4\n",
      "11010000100011\n",
      "15 2\n",
      "100001001000110\n",
      "19 1\n",
      "1010000111011000100\n",
      "13 2\n",
      "1011100010010\n",
      "3 1\n",
      "101\n",
      "12 1\n",
      "000001001010\n",
      "14 3\n",
      "00110110101110\n",
      "17 4\n",
      "11001110110011001\n",
      "15 2\n",
      "011111001001110\n",
      "8 1\n",
      "01001101\n",
      "14 3\n",
      "00100011011100\n",
      "8 2\n",
      "01011011\n",
      "18 1\n",
      "000010111100011010\n",
      "10 4\n",
      "0011100110\n",
      "6 4\n",
      "110101\n",
      "17 4\n",
      "10010111110111101\n",
      "4 3\n",
      "0110\n",
      "17 3\n",
      "01001100010000000\n",
      "4 4\n",
      "1111\n",
      "5 4\n",
      "00111\n",
      "6 3\n",
      "010001\n",
      "4 2\n",
      "0011\n",
      "10 1\n",
      "0011010010\n",
      "4 3\n",
      "0111\n",
      "4 1\n",
      "1001\n",
      "11 3\n",
      "01101100001\n",
      "3 3\n",
      "101\n",
      "10 2\n",
      "0101011110\n",
      "10 2\n",
      "0000110111\n",
      "3 2\n",
      "010\n",
      "2 3\n",
      "11\n",
      "5 4\n",
      "00011\n",
      "6 4\n",
      "101100\n",
      "10 3\n",
      "1110101100\n",
      "20 4\n",
      "10111101001110001110\n",
      "2 3\n",
      "10\n",
      "15 3\n",
      "011101001111001\n",
      "12 1\n",
      "011101101110\n",
      "2 3\n",
      "00\n",
      "16 1\n",
      "1000101110000110\n",
      "16 3\n",
      "1101000100101000\n",
      "10 2\n",
      "1101001011\n",
      "14 2\n",
      "10101010011101\n",
      "4 2\n",
      "1011\n",
      "9 4\n",
      "010000010\n",
      "17 4\n",
      "11011101011010010\n",
      "2 2\n",
      "00\n",
      "7 1\n",
      "0000101\n",
      "15 4\n",
      "000011101101011\n",
      "19 2\n",
      "1110110000010011101\n",
      "2 1\n",
      "10\n",
      "17 4\n",
      "01001111111101111\n",
      "3 1\n",
      "111\n",
      "10 2\n",
      "0001100000\n",
      "4 4\n",
      "1011\n",
      "13 3\n",
      "1101100110011\n",
      "8 4\n",
      "01110001\n",
      "8 2\n",
      "01011110\n",
      "10 2\n",
      "0010110010\n",
      "3 1\n",
      "100\n",
      "16 2\n",
      "0100100011100111\n",
      "15 4\n",
      "110011001111101\n",
      "12 2\n",
      "100001001010\n",
      "14 1\n",
      "11110101011111\n",
      "14 3\n",
      "00000110001111\n",
      "20 3\n",
      "01011001100110010110\n",
      "14 4\n",
      "01001111111110\n",
      "16 4\n",
      "1101001001011011\n",
      "18 1\n",
      "010000010000110101\n",
      "3 4\n",
      "111\n",
      "18 4\n",
      "011000111001010100\n",
      "17 4\n",
      "00100000000001011\n",
      "17 2\n",
      "00011011111011110\n",
      "5 3\n",
      "11011\n",
      "4 2\n",
      "0011\n",
      "10 1\n",
      "1000110011\n",
      "15 4\n",
      "010110101010000\n",
      "19 1\n",
      "1010011001100001111\n",
      "12 2\n",
      "000110011010\n",
      "11 2\n",
      "01101001001\n",
      "15 3\n",
      "000100100100100\n",
      "19 2\n",
      "0011110001101100110\n",
      "18 4\n",
      "001110101101000101\n",
      "4 3\n",
      "1010\n",
      "8 3\n",
      "10001100\n",
      "4 4\n",
      "1011\n",
      "19 1\n",
      "1000110111001001011\n",
      "5 3\n",
      "01011\n",
      "19 2\n",
      "0110000000000011111\n",
      "13 2\n",
      "0011110100100\n",
      "18 4\n",
      "111110111101000010\n",
      "13 4\n",
      "1110000001100\n",
      "2 4\n",
      "10\n",
      "5 2\n",
      "11000\n",
      "2 3\n",
      "10\n",
      "16 1\n",
      "1010110101010111\n",
      "15 4\n",
      "001000001110100\n",
      "11 2\n",
      "00100111111\n",
      "2 2\n",
      "00\n",
      "10 1\n",
      "1001101011\n",
      "13 4\n",
      "0010111000011\n",
      "9 4\n",
      "001101000\n",
      "16 4\n",
      "1101010000101111\n",
      "2 1\n",
      "11\n",
      "10 3\n",
      "0111000010\n",
      "3 1\n",
      "000\n",
      "10 4\n",
      "0100010000\n",
      "15 1\n",
      "110100000101110\n",
      "10 3\n",
      "0110000101\n",
      "16 3\n",
      "1101000000101101\n",
      "15 3\n",
      "110101001111000\n",
      "3 4\n",
      "100\n",
      "16 2\n",
      "1100000001001110\n",
      "14 3\n",
      "10011111110001\n",
      "13 4\n",
      "1100110000110\n",
      "12 4\n",
      "101101110101\n",
      "7 4\n",
      "1101101\n",
      "20 3\n",
      "11111010001101001001\n",
      "16 1\n",
      "0001100111011011\n",
      "17 3\n",
      "11111101011000110\n",
      "12 1\n",
      "110100110111\n",
      "4 3\n",
      "0110\n",
      "17 1\n",
      "11100011101101101\n",
      "16 3\n",
      "0111010101011001\n",
      "10 2\n",
      "0100101110\n",
      "5 2\n",
      "10100\n",
      "8 2\n",
      "01101000\n",
      "19 2\n",
      "0111001010011111111\n",
      "7 2\n",
      "0101101\n",
      "17 4\n",
      "10010100000111011\n",
      "19 4\n",
      "0101010111000100011\n",
      "8 4\n",
      "01111010\n",
      "13 1\n",
      "0101101011000\n",
      "12 4\n",
      "001010110010\n",
      "16 1\n",
      "0011010100011110\n",
      "16 2\n",
      "1101001101001010\n",
      "15 3\n",
      "010110011011000\n",
      "13 2\n",
      "1011101001010\n",
      "11 1\n",
      "00101110111\n",
      "17 2\n",
      "11010001101011110\n",
      "4 2\n",
      "0011\n",
      "4 1\n",
      "0000\n",
      "13 2\n",
      "1100010100010\n",
      "12 4\n",
      "101011000111\n",
      "20 1\n",
      "11011011000000110111\n",
      "16 1\n",
      "1010000111000110\n",
      "20 4\n",
      "01110010001010101101\n",
      "9 3\n",
      "011110001\n",
      "13 2\n",
      "1110100100011\n",
      "4 3\n",
      "0101\n",
      "5 3\n",
      "11001\n",
      "6 4\n",
      "011100\n",
      "10 2\n",
      "0011110010\n",
      "9 2\n",
      "001011001\n",
      "17 4\n",
      "10111110001111010\n",
      "7 2\n",
      "0101111\n",
      "7 4\n",
      "1001111\n",
      "6 3\n",
      "010010\n",
      "3 2\n",
      "000\n",
      "15 3\n",
      "101011110001111\n",
      "16 3\n",
      "0110110100111110\n",
      "5 4\n",
      "01111\n",
      "20 1\n",
      "10001101101101101000\n",
      "18 1\n",
      "001000000010110011\n",
      "7 2\n",
      "0000111\n",
      "16 2\n",
      "0010000010101101\n",
      "2 3\n",
      "10\n",
      "14 1\n",
      "11100101110110\n",
      "9 4\n",
      "000111110\n",
      "15 2\n",
      "010111100000111\n",
      "7 2\n",
      "1111111\n",
      "3 2\n",
      "101\n",
      "16 4\n",
      "1110011011111001\n",
      "7 2\n",
      "1101111\n",
      "15 3\n",
      "101011011101001\n",
      "2 2\n",
      "00\n",
      "3 3\n",
      "010\n",
      "5 1\n",
      "10010\n",
      "9 1\n",
      "111011111\n",
      "2 4\n",
      "01\n",
      "4 1\n",
      "1001\n",
      "4 3\n",
      "0001\n",
      "19 2\n",
      "1111011101001001111\n",
      "10 4\n",
      "0101000111\n",
      "13 3\n",
      "0101101010001\n",
      "14 3\n",
      "00111000001111\n",
      "11 4\n",
      "00101110110\n",
      "5 4\n",
      "11101\n",
      "20 3\n",
      "01011100110111001110\n",
      "2 4\n",
      "11\n",
      "12 2\n",
      "000100110011\n",
      "13 2\n",
      "0000011011100\n",
      "13 1\n",
      "1000111110010\n",
      "12 4\n",
      "110011000010\n",
      "6 4\n",
      "101100\n",
      "6 4\n",
      "001011\n",
      "15 4\n",
      "101100110001110\n",
      "8 1\n",
      "11111111\n",
      "20 1\n",
      "10010110110110010111\n",
      "3 3\n",
      "110\n",
      "9 4\n",
      "110011101\n",
      "4 4\n",
      "1110\n",
      "4 3\n",
      "0011\n",
      "8 4\n",
      "10100100\n",
      "11 1\n",
      "10110001110\n",
      "3 1\n",
      "010\n",
      "12 4\n",
      "101010000110\n",
      "5 1\n",
      "01110\n",
      "13 2\n",
      "1000010000011\n",
      "19 4\n",
      "0000100010000101001\n",
      "2 4\n",
      "01\n",
      "20 1\n",
      "00000011111000100000\n",
      "6 4\n",
      "001100\n",
      "10 4\n",
      "0010111100\n",
      "13 1\n",
      "1011010101000\n",
      "4 3\n",
      "1100\n",
      "17 2\n",
      "11110010011111100\n",
      "14 4\n",
      "01100110000000\n",
      "3 3\n",
      "011\n",
      "13 3\n",
      "1111010110011\n",
      "17 3\n",
      "01110110001000101\n",
      "18 2\n",
      "111100010110101111\n",
      "2 4\n",
      "01\n",
      "5 3\n",
      "01010\n",
      "6 2\n",
      "100000\n",
      "13 3\n",
      "0011010010011\n",
      "16 4\n",
      "0101101100011000\n",
      "6 4\n",
      "011001\n",
      "3 4\n",
      "110\n",
      "16 3\n",
      "0000010000100010\n",
      "15 4\n",
      "110001010001010\n",
      "3 3\n",
      "101\n",
      "14 1\n",
      "11111000111001\n",
      "15 1\n",
      "011001101110101\n",
      "12 3\n",
      "100100010011\n",
      "17 1\n",
      "10100111010111001\n",
      "6 1\n",
      "010100\n",
      "14 3\n",
      "00100100111101\n",
      "19 2\n",
      "0010010011011000100\n",
      "11 4\n",
      "10001011011\n",
      "7 3\n",
      "1101100\n",
      "15 2\n",
      "111000000001100\n",
      "11 1\n",
      "00100011101\n",
      "19 2\n",
      "1011011101010111011\n",
      "2 2\n",
      "01\n",
      "17 1\n",
      "00100110101110011\n",
      "5 3\n",
      "11010\n",
      "5 2\n",
      "11010\n",
      "14 4\n",
      "11001110011100\n",
      "19 3\n",
      "0011110001111010000\n",
      "18 2\n",
      "100001011100110111\n",
      "19 1\n",
      "0111100000101111101\n",
      "19 3\n",
      "1110101111110011011\n",
      "6 4\n",
      "110101\n",
      "7 2\n",
      "1101100\n",
      "5 4\n",
      "01111\n",
      "18 1\n",
      "010010111101011011\n",
      "2 4\n",
      "10\n",
      "9 3\n",
      "110100010\n",
      "15 1\n",
      "001000101111010\n",
      "9 2\n",
      "101010010\n",
      "11 2\n",
      "10010110101\n",
      "18 3\n",
      "110100010000000011\n",
      "2 3\n",
      "01\n",
      "16 4\n",
      "1111011110100000\n",
      "20 4\n",
      "00101011011011101111\n",
      "19 4\n",
      "1001001001110010110\n",
      "9 4\n",
      "010101001\n",
      "7 3\n",
      "1001000\n",
      "12 1\n",
      "100101011101\n",
      "14 4\n",
      "00100100110111\n",
      "8 4\n",
      "00100010\n",
      "12 1\n",
      "001100101010\n",
      "17 3\n",
      "01000000010110100\n",
      "16 4\n",
      "0110011010100111\n",
      "17 3\n",
      "01110001010001101\n",
      "15 2\n",
      "000100101110010\n",
      "15 4\n",
      "101101000000000\n",
      "5 2\n",
      "00001\n",
      "13 1\n",
      "1001010101000\n",
      "17 4\n",
      "00000100101111010\n",
      "3 3\n",
      "100\n",
      "10 4\n",
      "0010111010\n",
      "14 3\n",
      "11000010011010\n",
      "5 3\n",
      "01001\n",
      "18 1\n",
      "111011010000001100\n",
      "3 4\n",
      "010\n",
      "15 3\n",
      "000010011111101\n",
      "17 4\n",
      "00010110011000010\n",
      "16 3\n",
      "0010010011011101\n",
      "12 2\n",
      "010001101101\n",
      "4 3\n",
      "1001\n",
      "7 1\n",
      "1011110\n",
      "20 3\n",
      "00011100110000101111\n",
      "12 3\n",
      "110001111001\n",
      "19 3\n",
      "1010000110000110001\n",
      "20 3\n",
      "11100110000101110010\n",
      "16 3\n",
      "1111111101011010\n",
      "17 4\n",
      "00100011110100100\n",
      "2 4\n",
      "00\n",
      "9 2\n",
      "010000001\n",
      "6 4\n",
      "000000\n",
      "3 2\n",
      "001\n",
      "4 1\n",
      "0110\n",
      "15 2\n",
      "000010011000001\n",
      "12 3\n",
      "001111110111\n",
      "8 3\n",
      "10101011\n",
      "4 4\n",
      "1000\n",
      "18 4\n",
      "011111110100011100\n",
      "12 1\n",
      "001101101000\n",
      "7 2\n",
      "1011101\n",
      "19 1\n",
      "1111001110100000110\n",
      "10 3\n",
      "0101001101\n",
      "4 4\n",
      "0010\n",
      "15 3\n",
      "000101010111001\n",
      "17 1\n",
      "11100010011011010\n",
      "3 2\n",
      "011\n",
      "13 4\n",
      "1010100100000\n",
      "18 1\n",
      "101101110101010101\n",
      "4 1\n",
      "0010\n",
      "11 4\n",
      "10000011001\n",
      "18 2\n",
      "100101100001010101\n",
      "15 2\n",
      "011111010100001\n",
      "8 1\n",
      "00000011\n",
      "6 3\n",
      "001101\n",
      "2 4\n",
      "00\n",
      "6 1\n",
      "000110\n",
      "6 3\n",
      "001001\n",
      "3 4\n",
      "110\n",
      "13 2\n",
      "1110011101000\n",
      "4 4\n",
      "0010\n",
      "16 4\n",
      "0101010001011110\n",
      "4 1\n",
      "1001\n",
      "16 2\n",
      "1100111110011101\n",
      "16 4\n",
      "0001010101000110\n",
      "12 1\n",
      "010011101101\n",
      "17 2\n",
      "10000101111101011\n",
      "3 3\n",
      "100\n",
      "13 3\n",
      "1111101000011\n",
      "20 3\n",
      "01000000011111011010\n",
      "17 4\n",
      "00100000000011000\n",
      "20 3\n",
      "10111000110100001111\n",
      "15 4\n",
      "110100000110011\n",
      "12 2\n",
      "101001111100\n",
      "4 3\n",
      "1001\n",
      "9 3\n",
      "000101111\n",
      "14 3\n",
      "10111000011110\n",
      "12 4\n",
      "011110001101\n",
      "11 4\n",
      "00010000111\n",
      "3 3\n",
      "110\n",
      "10 2\n",
      "0100010000\n",
      "7 3\n",
      "1101000\n",
      "14 4\n",
      "11000001111001\n",
      "19 2\n",
      "1011111001101111010\n",
      "3 3\n",
      "001\n",
      "2 3\n",
      "10\n",
      "5 2\n",
      "01111\n",
      "20 4\n",
      "01001111110010011011\n",
      "18 3\n",
      "010110100010001101\n",
      "2 2\n",
      "01\n",
      "6 1\n",
      "111101\n",
      "13 3\n",
      "1010001011001\n",
      "9 2\n",
      "100101010\n",
      "11 1\n",
      "00010111011\n",
      "13 2\n",
      "0101101110110\n",
      "4 4\n",
      "1010\n",
      "3 1\n",
      "011\n",
      "12 4\n",
      "001001011001\n",
      "16 2\n",
      "1101101101000011\n",
      "8 2\n",
      "11000000\n",
      "3 2\n",
      "010\n",
      "11 2\n",
      "00001010101\n",
      "3 4\n",
      "101\n",
      "7 1\n",
      "0001010\n",
      "8 4\n",
      "00010000\n",
      "16 3\n",
      "1101101000100010\n",
      "4 4\n",
      "0000\n",
      "13 2\n",
      "0011011011100\n",
      "15 3\n",
      "110001000011111\n",
      "14 4\n",
      "11011001110101\n",
      "10 4\n",
      "0000100011\n",
      "9 2\n",
      "101000001\n",
      "6 2\n",
      "011100\n",
      "15 2\n",
      "010011111011011\n",
      "15 1\n",
      "111101100010011\n",
      "20 1\n",
      "11100011011011001010\n",
      "6 1\n",
      "001101\n",
      "2 2\n",
      "01\n",
      "12 2\n",
      "101010101100\n",
      "8 3\n",
      "10101101\n",
      "13 1\n",
      "0110101101001\n",
      "11 3\n",
      "01001010011\n",
      "9 4\n",
      "101011101\n",
      "5 4\n",
      "11000\n",
      "16 1\n",
      "1101010110011010\n",
      "10 4\n",
      "0000110010\n",
      "4 1\n",
      "1000\n",
      "11 1\n",
      "01100111110\n",
      "16 2\n",
      "0011010011010001\n",
      "19 2\n",
      "0001101101101111010\n",
      "5 3\n",
      "00100\n",
      "17 2\n",
      "00001000110001000\n",
      "8 3\n",
      "10110111\n",
      "19 4\n",
      "1010100011101011110\n",
      "7 2\n",
      "1100011\n",
      "14 4\n",
      "00111101111100\n",
      "16 3\n",
      "1101001101110100\n",
      "14 1\n",
      "00111110110011\n",
      "19 3\n",
      "1000011101100101111\n",
      "18 3\n",
      "000110111101010000\n",
      "19 2\n",
      "1011110011110100011\n",
      "5 4\n",
      "00001\n",
      "6 1\n",
      "111011\n",
      "10 4\n",
      "1111101010\n",
      "12 3\n",
      "001100010010\n",
      "9 4\n",
      "011110010\n",
      "8 4\n",
      "10111100\n",
      "8 4\n",
      "11101111\n",
      "16 4\n",
      "0100010010010111\n",
      "14 1\n",
      "00110101010110\n",
      "10 2\n",
      "1010111010\n",
      "19 2\n",
      "1110001010000011001\n",
      "5 1\n",
      "01110\n",
      "4 1\n",
      "0111\n",
      "6 1\n",
      "011001\n",
      "2 3\n",
      "00\n",
      "14 3\n",
      "01011111100010\n",
      "2 1\n",
      "01\n",
      "20 2\n",
      "11101011011000110111\n",
      "11 3\n",
      "00111100110\n",
      "5 2\n",
      "10011\n",
      "20 4\n",
      "11000010000010001111\n",
      "17 3\n",
      "10110010011110010\n",
      "17 2\n",
      "11100110010100000\n",
      "12 2\n",
      "100111101110\n",
      "3 2\n",
      "100\n",
      "18 3\n",
      "101011111110110010\n",
      "15 1\n",
      "011000110001001\n",
      "7 3\n",
      "0101100\n",
      "3 3\n",
      "111\n",
      "11 4\n",
      "00011010110\n",
      "7 3\n",
      "0111010\n",
      "17 1\n",
      "01111011011010101\n",
      "17 4\n",
      "01101010010000001\n",
      "2 2\n",
      "11\n",
      "7 4\n",
      "0110000\n",
      "8 3\n",
      "00011001\n",
      "14 3\n",
      "10110101000100\n",
      "5 2\n",
      "11110\n",
      "4 2\n",
      "1101\n",
      "17 3\n",
      "10111100010110100\n",
      "4 1\n",
      "0001\n",
      "12 1\n",
      "110110000011\n",
      "14 3\n",
      "11011010101011\n",
      "18 2\n",
      "010111010101101101\n",
      "8 2\n",
      "00010010\n",
      "2 2\n",
      "01\n",
      "13 3\n",
      "0100010001101\n",
      "7 2\n",
      "1110100\n",
      "15 2\n",
      "011000010010110\n",
      "18 1\n",
      "101111011011100010\n",
      "3 3\n",
      "101\n",
      "5 2\n",
      "01100\n",
      "6 3\n",
      "011010\n",
      "15 3\n",
      "011100100000001\n",
      "3 3\n",
      "001\n",
      "20 4\n",
      "00011011100111111111\n",
      "6 2\n",
      "111111\n",
      "14 4\n",
      "01000100110101\n",
      "19 1\n",
      "0000110111010010011\n",
      "10 4\n",
      "0000100000\n",
      "17 4\n",
      "10000100011011011\n",
      "8 4\n",
      "00111111\n",
      "15 2\n",
      "111100011010101\n",
      "18 2\n",
      "001110010001101110\n",
      "12 2\n",
      "011011010010\n",
      "18 3\n",
      "011000000001000100\n",
      "10 3\n",
      "1110000000\n",
      "10 3\n",
      "0011110110\n",
      "13 1\n",
      "1010110100011\n",
      "15 2\n",
      "011100101011000\n",
      "8 1\n",
      "10011001\n",
      "13 3\n",
      "1010101100000\n",
      "10 3\n",
      "1111010011\n",
      "16 1\n",
      "1101100000010111\n",
      "4 3\n",
      "1011\n",
      "14 2\n",
      "10100101110010\n",
      "13 2\n",
      "1101000010100\n",
      "7 3\n",
      "1100010\n",
      "9 4\n",
      "100100101\n",
      "3 4\n",
      "001\n",
      "5 1\n",
      "10111\n",
      "4 1\n",
      "0111\n",
      "2 1\n",
      "00\n",
      "7 3\n",
      "1001111\n",
      "8 4\n",
      "01111001\n",
      "4 2\n",
      "0100\n",
      "18 4\n",
      "111001010111110100\n",
      "17 2\n",
      "10001110010011000\n",
      "2 4\n",
      "10\n",
      "9 3\n",
      "110001110\n",
      "3 3\n",
      "100\n",
      "10 4\n",
      "0111100010\n",
      "2 2\n",
      "01\n",
      "16 2\n",
      "1101100011100011\n",
      "16 4\n",
      "0101100100101111\n",
      "10 3\n",
      "1001011100\n",
      "11 4\n",
      "00110011000\n",
      "2 4\n",
      "00\n",
      "9 1\n",
      "001011010\n",
      "18 3\n",
      "111011110010010011\n",
      "5 4\n",
      "01111\n",
      "6 3\n",
      "111100\n",
      "4 4\n",
      "0101\n",
      "11 4\n",
      "11101101101\n",
      "13 2\n",
      "1011010100011\n",
      "3 4\n",
      "011\n",
      "3 2\n",
      "000\n",
      "2 1\n",
      "00\n",
      "10 4\n",
      "1000101111\n",
      "13 2\n",
      "1100001011101\n",
      "7 2\n",
      "0101000\n",
      "2 3\n",
      "00\n",
      "12 2\n",
      "001001000011\n",
      "2 3\n",
      "11\n",
      "20 3\n",
      "01010010110111011011\n",
      "3 3\n",
      "111\n",
      "2 4\n",
      "11\n",
      "9 1\n",
      "001001101\n",
      "6 1\n",
      "110011\n",
      "13 3\n",
      "0011011101111\n",
      "11 2\n",
      "00100010100\n",
      "19 2\n",
      "1111100111010000000\n",
      "18 4\n",
      "011111111000000001\n",
      "11 3\n",
      "11111000011\n",
      "13 1\n",
      "1101101010000\n",
      "12 1\n",
      "000111001000\n",
      "2 1\n",
      "01\n",
      "13 1\n",
      "0011101110001\n",
      "2 2\n",
      "01\n",
      "16 2\n",
      "0010110011110011\n",
      "7 2\n",
      "1010010\n",
      "18 4\n",
      "011100111101110101\n",
      "13 4\n",
      "1001101000111\n",
      "3 4\n",
      "101\n",
      "7 2\n",
      "0000101\n",
      "16 4\n",
      "0110101100100011\n",
      "8 1\n",
      "00100000\n",
      "12 4\n",
      "010101010110\n",
      "6 3\n",
      "101001\n",
      "13 1\n",
      "1001110000110\n",
      "8 2\n",
      "11001000\n",
      "19 2\n",
      "1110011000001101111\n",
      "19 4\n",
      "1111111110100000111\n",
      "19 4\n",
      "1000110111010001111\n",
      "2 2\n",
      "01\n",
      "5 3\n",
      "11110\n",
      "5 4\n",
      "11110\n",
      "5 2\n",
      "01011\n",
      "12 4\n",
      "110110101101\n",
      "11 1\n",
      "10010101010\n",
      "3 4\n",
      "010\n",
      "14 4\n",
      "10000010110100\n",
      "19 1\n",
      "1100111111101111100\n",
      "8 2\n",
      "00010000\n",
      "20 3\n",
      "11011001101110100101\n",
      "3 2\n",
      "001\n",
      "17 4\n",
      "00011011100111101\n",
      "16 3\n",
      "1001000100101011\n",
      "19 3\n",
      "0001101100101110001\n",
      "12 3\n",
      "011111000000\n",
      "15 4\n",
      "110101110101011\n",
      "10 4\n",
      "0001100101\n",
      "11 1\n",
      "10010110011\n",
      "13 3\n",
      "0111000010100\n",
      "19 4\n",
      "0110110000101110101\n",
      "13 3\n",
      "0011011010100\n",
      "16 2\n",
      "1100100010100110\n",
      "10 4\n",
      "0010011110\n",
      "8 4\n",
      "10011101\n",
      "7 4\n",
      "0011101\n",
      "7 2\n",
      "1001000\n",
      "9 3\n",
      "110101101\n",
      "19 2\n",
      "1110110101011010100\n",
      "10 1\n",
      "1100111001\n",
      "3 1\n",
      "011\n",
      "3 4\n",
      "111\n",
      "3 2\n",
      "110\n",
      "6 2\n",
      "001101\n",
      "9 2\n",
      "010110010\n",
      "6 3\n",
      "010010\n",
      "6 4\n",
      "000100\n",
      "9 4\n",
      "111111100\n",
      "9 1\n",
      "111010000\n",
      "12 1\n",
      "010101001100\n",
      "20 2\n",
      "10111111110000001011\n",
      "10 3\n",
      "0010101100\n",
      "11 4\n",
      "01000101101\n",
      "8 4\n",
      "11100001\n",
      "6 1\n",
      "100001\n",
      "11 3\n",
      "01101011111\n",
      "20 1\n",
      "11011001010000001101\n",
      "4 3\n",
      "1101\n",
      "18 2\n",
      "110111110100111100\n",
      "7 4\n",
      "1111000\n",
      "15 4\n",
      "111010110000000\n",
      "8 4\n",
      "01101100\n",
      "11 1\n",
      "11010001100\n",
      "2 2\n",
      "01\n",
      "18 2\n",
      "010000100101011111\n",
      "15 2\n",
      "000011101001101\n",
      "4 2\n",
      "0000\n",
      "18 3\n",
      "110101110001111101\n",
      "8 3\n",
      "11000001\n",
      "17 1\n",
      "01010101000010101\n",
      "13 1\n",
      "1010010101010\n",
      "8 4\n",
      "01000000\n",
      "20 4\n",
      "00100101110111101110\n",
      "3 2\n",
      "001\n",
      "17 4\n",
      "00111011101001111\n",
      "8 4\n",
      "01101001\n",
      "20 1\n",
      "01100100000101010001\n",
      "18 3\n",
      "111010000000100000\n",
      "7 4\n",
      "1010100\n",
      "15 2\n",
      "100100101110011\n",
      "8 4\n",
      "11111100\n",
      "13 1\n",
      "0100101001001\n",
      "20 3\n",
      "01100001101000110011\n",
      "8 4\n",
      "01010001\n",
      "13 3\n",
      "0101011110010\n",
      "11 1\n",
      "01010101010\n",
      "4 2\n",
      "1101\n",
      "10 2\n",
      "0101000000\n",
      "3 3\n",
      "001\n",
      "5 1\n",
      "01111\n",
      "7 1\n",
      "1011000\n",
      "10 2\n",
      "0010011100\n",
      "6 1\n",
      "111011\n",
      "10 2\n",
      "0011101000\n",
      "12 4\n",
      "010011110110\n",
      "19 4\n",
      "1101011101100001001\n",
      "6 2\n",
      "000001\n",
      "7 3\n",
      "0101011\n",
      "7 1\n",
      "0011000\n",
      "4 1\n",
      "1011\n",
      "10 3\n",
      "1111111100\n",
      "4 1\n",
      "0010\n",
      "12 1\n",
      "011001111100\n",
      "20 3\n",
      "01001101101100000111\n",
      "6 4\n",
      "110111\n",
      "20 1\n",
      "01111101011011100001\n",
      "20 2\n",
      "10110000110000101110\n",
      "3 1\n",
      "101\n",
      "10 2\n",
      "1001110111\n",
      "16 2\n",
      "1101010111000100\n",
      "13 2\n",
      "0011001101111\n",
      "3 1\n",
      "001\n",
      "20 4\n",
      "00101001011000111100\n",
      "2 2\n",
      "10\n",
      "14 3\n",
      "10011101111101\n",
      "9 3\n",
      "111000000\n",
      "16 1\n",
      "1100101010100011\n",
      "8 2\n",
      "01010001\n",
      "11 3\n",
      "01111010101\n",
      "13 2\n",
      "0011100001100\n",
      "17 4\n",
      "10001100000001100\n",
      "12 4\n",
      "111010001111\n",
      "9 2\n",
      "100111101\n",
      "2 4\n",
      "11\n",
      "19 3\n",
      "1110001011100000111\n",
      "14 3\n",
      "11010101100011\n",
      "7 4\n",
      "0100001\n",
      "7 1\n",
      "1101001\n",
      "12 3\n",
      "111101111011\n",
      "11 4\n",
      "11011001110\n",
      "18 3\n",
      "110001010001001000\n",
      "16 1\n",
      "0001011000001000\n",
      "16 2\n",
      "1110100011000101\n",
      "2 3\n",
      "11\n",
      "13 4\n",
      "0000100110001\n",
      "14 4\n",
      "10101110100010\n",
      "12 3\n",
      "100100010011\n",
      "13 1\n",
      "0101110111010\n",
      "15 1\n",
      "111001110101101\n",
      "6 1\n",
      "101101\n",
      "15 4\n",
      "001010001001000\n",
      "15 3\n",
      "000000111011101\n",
      "14 3\n",
      "00001111011110\n",
      "10 3\n",
      "1011100011\n",
      "20 3\n",
      "00100011110110000010\n",
      "20 3\n",
      "10010110000011000111\n",
      "11 1\n",
      "10101000101\n",
      "4 4\n",
      "1001\n",
      "3 2\n",
      "110\n",
      "11 3\n",
      "00000011001\n",
      "6 2\n",
      "000010\n",
      "5 4\n",
      "10001\n",
      "12 2\n",
      "110101100101\n",
      "17 3\n",
      "10010101001010110\n",
      "7 3\n",
      "0100011\n",
      "7 4\n",
      "1100101\n",
      "17 4\n",
      "01100101110011010\n",
      "8 4\n",
      "10011110\n",
      "6 2\n",
      "101011\n",
      "15 4\n",
      "111101011011110\n",
      "16 1\n",
      "1000011111100111\n",
      "10 1\n",
      "0100000110\n",
      "11 3\n",
      "11001000111\n",
      "15 3\n",
      "011100111111111\n",
      "12 4\n",
      "110100100000\n",
      "3 2\n",
      "111\n",
      "6 1\n",
      "100100\n",
      "12 1\n",
      "001100111010\n",
      "19 2\n",
      "1001100101010000010\n",
      "2 3\n",
      "01\n",
      "13 4\n",
      "0100010010100\n",
      "10 2\n",
      "0001001101\n",
      "8 3\n",
      "00000000\n",
      "2 2\n",
      "00\n",
      "20 3\n",
      "11101001011101110111\n",
      "6 1\n",
      "010101\n",
      "7 1\n",
      "1101000\n",
      "17 4\n",
      "00001110100100101\n",
      "16 4\n",
      "0001001110111011\n",
      "16 1\n",
      "0001101010011101\n",
      "9 1\n",
      "100011000\n",
      "17 3\n",
      "10110000010110101\n",
      "14 4\n",
      "11001110010100\n",
      "13 2\n",
      "0011111011011\n",
      "9 4\n",
      "111010101\n",
      "7 4\n",
      "1110000\n",
      "12 4\n",
      "001101101010\n",
      "5 1\n",
      "11010\n",
      "9 2\n",
      "101110110\n",
      "9 3\n",
      "100010000\n",
      "20 1\n",
      "10101110011110111011\n",
      "20 3\n",
      "01100111110000011001\n",
      "16 2\n",
      "0000000110001010\n",
      "11 4\n",
      "01010001111\n",
      "20 4\n",
      "10001110001000001111\n",
      "12 3\n",
      "101110111101\n",
      "4 4\n",
      "0010\n",
      "18 2\n",
      "111000110001010000\n",
      "3 3\n",
      "111\n",
      "4 1\n",
      "1101\n",
      "11 2\n",
      "01111010010\n",
      "17 3\n",
      "00111100110101010\n",
      "3 2\n",
      "010\n",
      "8 3\n",
      "01100111\n",
      "14 1\n",
      "10010100010110\n",
      "2 2\n",
      "01\n",
      "5 1\n",
      "00101\n",
      "3 3\n",
      "010\n",
      "5 3\n",
      "00100\n",
      "3 1\n",
      "101\n",
      "11 3\n",
      "00101001110\n",
      "10 3\n",
      "1010100101\n",
      "11 1\n",
      "00101101010\n",
      "3 1\n",
      "001\n",
      "12 4\n",
      "001100111110\n",
      "13 2\n",
      "0001000011010\n",
      "20 3\n",
      "01010111000100111111\n",
      "8 2\n",
      "10000110\n",
      "17 2\n",
      "10111111100101000\n",
      "13 4\n",
      "0111000100000\n",
      "3 4\n",
      "101\n",
      "16 3\n",
      "0000001001101011\n",
      "16 3\n",
      "1100001111110010\n",
      "18 2\n",
      "111110011110001011\n",
      "16 3\n",
      "1010011001001111\n",
      "13 1\n",
      "1100000011011\n",
      "17 1\n",
      "00111011000110001\n",
      "15 3\n",
      "000101110010000\n",
      "12 2\n",
      "001101111001\n",
      "14 2\n",
      "01111001100000\n",
      "6 2\n",
      "011000\n",
      "13 3\n",
      "0000101011001\n",
      "7 4\n",
      "1010010\n",
      "7 4\n",
      "0000101\n",
      "10 2\n",
      "1100100100\n",
      "15 3\n",
      "010011111000110\n",
      "20 4\n",
      "10011001111110001010\n",
      "15 3\n",
      "111001011011100\n",
      "15 3\n",
      "011101100010100\n",
      "17 2\n",
      "00010011000011101\n",
      "12 1\n",
      "011110011101\n",
      "19 2\n",
      "1110011100010101111\n",
      "15 1\n",
      "010101110001101\n",
      "20 1\n",
      "10011111101101101100\n",
      "20 3\n",
      "00110101110100101100\n",
      "17 1\n",
      "00100001100011000\n",
      "16 4\n",
      "1000010011000101\n",
      "9 4\n",
      "001000101\n",
      "6 2\n",
      "011011\n",
      "2 1\n",
      "00\n",
      "2 4\n",
      "01\n",
      "3 2\n",
      "010\n",
      "14 4\n",
      "10111100110010\n",
      "10 1\n",
      "1110010000\n",
      "9 4\n",
      "001000111\n",
      "3 2\n",
      "101\n",
      "2 3\n",
      "00\n",
      "8 2\n",
      "10001101\n",
      "8 4\n",
      "01100011\n",
      "8 4\n",
      "00010111\n",
      "5 3\n",
      "01100\n",
      "8 3\n",
      "01110011\n",
      "10 3\n",
      "0010010001\n",
      "7 2\n",
      "0110111\n",
      "10 1\n",
      "1110101101\n",
      "2 3\n",
      "11\n",
      "15 4\n",
      "100011010000100\n",
      "10 3\n",
      "1001110000\n",
      "9 3\n",
      "010110110\n",
      "6 2\n",
      "111000\n",
      "4 1\n",
      "1111\n",
      "10 4\n",
      "1101000110\n",
      "9 3\n",
      "111001100\n",
      "3 3\n",
      "000\n",
      "11 2\n",
      "01000110000\n",
      "3 1\n",
      "001\n",
      "13 1\n",
      "0000110111100\n",
      "3 1\n",
      "100\n",
      "20 2\n",
      "10100110000100110000\n",
      "19 1\n",
      "0010101011010001111\n",
      "6 1\n",
      "100111\n",
      "14 2\n",
      "10100010101001\n",
      "13 2\n",
      "1101110110101\n",
      "12 1\n",
      "101011011011\n",
      "4 4\n",
      "0001\n",
      "17 2\n",
      "01001101000110110\n",
      "10 3\n",
      "1110000110\n",
      "10 2\n",
      "0011000011\n",
      "2 4\n",
      "01\n",
      "2 2\n",
      "01\n",
      "12 3\n",
      "100000110011\n",
      "9 1\n",
      "110000011\n",
      "6 3\n",
      "101100\n",
      "20 4\n",
      "00101011100101100011\n",
      "20 4\n",
      "10000010100100101101\n",
      "13 1\n",
      "0001000100100\n",
      "5 3\n",
      "00111\n",
      "2 1\n",
      "01\n",
      "8 2\n",
      "01001100\n",
      "10 3\n",
      "0001010000\n",
      "9 4\n",
      "101110111\n",
      "2 3\n",
      "10\n",
      "20 2\n",
      "00001100111100110011\n",
      "14 3\n",
      "10101101110111\n",
      "14 4\n",
      "00000111101011\n",
      "14 3\n",
      "10011110110011\n",
      "14 3\n",
      "10011011000111\n",
      "3 1\n",
      "000\n",
      "12 1\n",
      "110000010100\n",
      "14 1\n",
      "10000111011111\n",
      "2 1\n",
      "10\n",
      "14 4\n",
      "00100110010110\n",
      "12 1\n",
      "110101010101\n",
      "3 3\n",
      "111\n",
      "3 3\n",
      "001\n",
      "13 1\n",
      "0001111100111\n",
      "6 1\n",
      "010000\n",
      "9 3\n",
      "100010001\n",
      "17 2\n",
      "00101111111000111\n",
      "2 1\n",
      "11\n",
      "5 3\n",
      "00011\n",
      "12 4\n",
      "111001101000\n",
      "11 4\n",
      "11110001001\n",
      "17 2\n",
      "00101110000111100\n",
      "18 3\n",
      "011101100100100011\n",
      "19 3\n",
      "0111111111001101010\n",
      "9 4\n",
      "010000110\n",
      "18 2\n",
      "011001100000000000\n",
      "6 1\n",
      "011110\n",
      "11 1\n",
      "10000010100\n",
      "2 1\n",
      "10\n",
      "3 3\n",
      "010\n",
      "9 3\n",
      "010100010\n",
      "4 4\n",
      "1101\n",
      "10 3\n",
      "0100111100\n",
      "16 4\n",
      "1000100001011001\n",
      "20 4\n",
      "11100111000110111100\n",
      "4 1\n",
      "1110\n",
      "7 2\n",
      "0101011\n",
      "5 2\n",
      "11111\n",
      "6 4\n",
      "100110\n",
      "4 1\n",
      "1100\n",
      "5 4\n",
      "11000\n",
      "8 4\n",
      "00010011\n",
      "11 2\n",
      "00110011001\n",
      "2 1\n",
      "11\n",
      "13 2\n",
      "0000101001100\n",
      "12 2\n",
      "100111100011\n",
      "4 1\n",
      "0001\n",
      "2 1\n",
      "01\n",
      "12 1\n",
      "010111100110\n",
      "7 2\n",
      "1010100\n",
      "3 2\n",
      "101\n",
      "15 4\n",
      "100111001000111\n",
      "16 1\n",
      "1111111110110111\n",
      "4 2\n",
      "1010\n",
      "10 2\n",
      "0000011101\n",
      "16 1\n",
      "0010110100101100\n",
      "4 2\n",
      "0101\n",
      "17 4\n",
      "00111000101111011\n",
      "10 2\n",
      "1010110101\n",
      "2 2\n",
      "00\n",
      "19 3\n",
      "0001100100100101010\n",
      "5 1\n",
      "00100\n",
      "16 3\n",
      "0010100111111111\n",
      "8 3\n",
      "10101000\n",
      "12 3\n",
      "010110011100\n",
      "10 4\n",
      "1111111101\n",
      "9 2\n",
      "010011011\n",
      "17 2\n",
      "10101001010010011\n",
      "8 2\n",
      "00010001\n",
      "12 4\n",
      "101110000110\n",
      "16 3\n",
      "1100010010001011\n",
      "14 2\n",
      "10100111011110\n",
      "3 4\n",
      "111\n",
      "6 2\n",
      "011010\n",
      "11 3\n",
      "00101111100\n",
      "16 1\n",
      "0011111101001000\n",
      "7 1\n",
      "1111011\n",
      "2 4\n",
      "11\n",
      "8 3\n",
      "10001010\n",
      "15 3\n",
      "111100111001101\n",
      "12 1\n",
      "111001001001\n",
      "11 3\n",
      "00010101001\n",
      "20 3\n",
      "11100001011110110011\n",
      "12 1\n",
      "001111001000\n",
      "10 1\n",
      "1101010011\n",
      "12 1\n",
      "101010100000\n",
      "13 3\n",
      "0001111100000\n",
      "20 4\n",
      "11100011011110111100\n",
      "16 3\n",
      "1010101011011110\n",
      "6 4\n",
      "101001\n",
      "2 1\n",
      "00\n",
      "9 4\n",
      "110010000\n",
      "13 1\n",
      "0111100001100\n",
      "19 3\n",
      "0110000010010000101\n",
      "2 4\n",
      "01\n",
      "10 1\n",
      "0100100000\n",
      "8 3\n",
      "00011110\n",
      "13 3\n",
      "1011100111001\n",
      "15 3\n",
      "101111100111011\n",
      "12 1\n",
      "001110111001\n",
      "20 4\n",
      "10101101101010001110\n",
      "12 3\n",
      "111000001111\n",
      "2 4\n",
      "11\n",
      "15 1\n",
      "100011011011010\n",
      "7 3\n",
      "1000000\n",
      "19 1\n",
      "1100001000011101010\n",
      "17 1\n",
      "01111000010101010\n",
      "13 3\n",
      "0110000100000\n",
      "9 2\n",
      "010001010\n",
      "12 4\n",
      "100100101011\n",
      "5 1\n",
      "00011\n",
      "11 2\n",
      "10100110111\n",
      "13 4\n",
      "0011001001001\n",
      "7 2\n",
      "0110000\n",
      "5 2\n",
      "11110\n",
      "7 3\n",
      "1100100\n",
      "18 1\n",
      "000111101110000101\n",
      "2 3\n",
      "01\n",
      "18 4\n",
      "010011100101010101\n",
      "6 2\n",
      "101001\n",
      "4 3\n",
      "0011\n",
      "14 4\n",
      "00111000001111\n",
      "15 2\n",
      "101011111001110\n",
      "11 4\n",
      "10001100111\n",
      "7 4\n",
      "1011000\n",
      "5 1\n",
      "01100\n",
      "5 2\n",
      "11000\n",
      "18 3\n",
      "110010110100110010\n",
      "11 3\n",
      "01001101000\n",
      "10 4\n",
      "0101101110\n",
      "7 4\n",
      "1011010\n",
      "18 1\n",
      "000110111111010111\n",
      "19 1\n",
      "1001000001111010101\n",
      "16 4\n",
      "1000010101100110\n",
      "3 2\n",
      "011\n",
      "6 1\n",
      "101010\n",
      "17 4\n",
      "10011100001001100\n",
      "2 1\n",
      "00\n",
      "13 4\n",
      "1110011101101\n",
      "7 1\n",
      "1110000\n",
      "10 1\n",
      "1100111010\n",
      "17 3\n",
      "01111100100000001\n",
      "12 3\n",
      "011110111110\n",
      "17 3\n",
      "00010001001111000\n",
      "5 1\n",
      "00000\n",
      "8 4\n",
      "00100010\n",
      "17 3\n",
      "00001110100100110\n",
      "9 2\n",
      "111101101\n",
      "12 4\n",
      "110100001111\n",
      "12 2\n",
      "100101101001\n",
      "8 4\n",
      "10100011\n",
      "20 1\n",
      "01000001010011101011\n",
      "17 4\n",
      "10000001001010011\n",
      "7 3\n",
      "1001110\n",
      "8 2\n",
      "00001010\n",
      "8 1\n",
      "01010010\n",
      "16 4\n",
      "1001001101011100\n",
      "2 1\n",
      "00\n",
      "7 4\n",
      "0001011\n",
      "17 4\n",
      "11000011100100100\n",
      "14 4\n",
      "10111100100101\n",
      "8 4\n",
      "10001101\n",
      "9 1\n",
      "100110111\n",
      "18 3\n",
      "011100001010010111\n",
      "19 1\n",
      "0001110110001110000\n",
      "18 2\n",
      "001011100001111010\n",
      "5 2\n",
      "10100\n",
      "3 4\n",
      "101\n",
      "17 4\n",
      "00011111001010000\n",
      "11 3\n",
      "01000100010\n",
      "9 4\n",
      "111011000\n",
      "12 1\n",
      "101110010011\n",
      "14 4\n",
      "00010100011110\n",
      "19 3\n",
      "0001010010011110100\n",
      "9 1\n",
      "101001001\n",
      "9 1\n",
      "000011010\n",
      "15 3\n",
      "100001000010111\n",
      "19 1\n",
      "1111010110001000001\n",
      "4 1\n",
      "0101\n",
      "15 2\n",
      "010100001100110\n",
      "6 2\n",
      "111100\n",
      "20 2\n",
      "00011110100111001011\n",
      "11 4\n",
      "01101101111\n",
      "10 1\n",
      "1101100101\n",
      "9 4\n",
      "011011110\n",
      "14 2\n",
      "01110110101101\n",
      "13 4\n",
      "1111010100010\n",
      "7 2\n",
      "1001000\n",
      "3 1\n",
      "100\n",
      "12 1\n",
      "010100111110\n",
      "5 3\n",
      "10001\n",
      "10 2\n",
      "1011000111\n",
      "10 3\n",
      "1011100011\n",
      "11 1\n",
      "01101101101\n",
      "3 2\n",
      "111\n",
      "6 3\n",
      "001010\n",
      "4 1\n",
      "0000\n",
      "20 1\n",
      "11011010000110101101\n",
      "2 2\n",
      "10\n",
      "8 2\n",
      "11101011\n",
      "17 4\n",
      "10100101110101001\n",
      "18 3\n",
      "010100000111001000\n",
      "2 2\n",
      "00\n",
      "16 3\n",
      "1100010010101011\n",
      "5 2\n",
      "11100\n",
      "6 2\n",
      "010111\n",
      "18 4\n",
      "011000010001111000\n",
      "14 1\n",
      "00011111000010\n",
      "12 4\n",
      "111100001110\n",
      "8 4\n",
      "01101100\n",
      "5 1\n",
      "11000\n",
      "11 3\n",
      "01110101101\n",
      "5 3\n",
      "01111\n",
      "20 2\n",
      "01111001001010011110\n",
      "19 2\n",
      "1001100110000000111\n",
      "5 1\n",
      "01011\n",
      "17 3\n",
      "11010111010000010\n",
      "7 2\n",
      "1111101\n",
      "4 1\n",
      "0100\n",
      "15 3\n",
      "011110110001111\n",
      "9 1\n",
      "110011111\n",
      "14 4\n",
      "00000000011010\n",
      "9 3\n",
      "100100010\n",
      "5 1\n",
      "10010\n",
      "18 4\n",
      "100111110000001011\n",
      "16 1\n",
      "1111010001010110\n",
      "11 2\n",
      "00100000011\n",
      "10 3\n",
      "0001001010\n",
      "17 2\n",
      "01000101110101100\n",
      "9 3\n",
      "111001101\n",
      "12 3\n",
      "011111011101\n",
      "4 1\n",
      "0111\n",
      "17 1\n",
      "01000101001111100\n",
      "13 3\n",
      "1110110001100\n",
      "8 4\n",
      "10111010\n",
      "2 4\n",
      "01\n",
      "14 4\n",
      "11100010100001\n",
      "7 4\n",
      "0001011\n",
      "2 2\n",
      "01\n",
      "12 2\n",
      "011000100011\n",
      "15 1\n",
      "111010001000001\n",
      "16 4\n",
      "1110010111101011\n",
      "11 2\n",
      "10001110000\n",
      "3 2\n",
      "010\n",
      "20 3\n",
      "01111110011011010011\n",
      "9 1\n",
      "100001110\n",
      "14 2\n",
      "10001001001010\n",
      "16 3\n",
      "1001101000110001\n",
      "6 2\n",
      "101111\n",
      "16 3\n",
      "1001001110011011\n",
      "12 4\n",
      "100111001101\n",
      "19 4\n",
      "0010111010001011000\n",
      "14 3\n",
      "01010000101011\n",
      "8 2\n",
      "00101011\n",
      "13 3\n",
      "0001101100101\n",
      "5 1\n",
      "11000\n",
      "17 1\n",
      "11101001010110110\n",
      "7 4\n",
      "1111110\n",
      "2 1\n",
      "10\n",
      "16 4\n",
      "0000000001100110\n",
      "10 2\n",
      "1011010001\n",
      "10 3\n",
      "0111000011\n",
      "9 2\n",
      "011010111\n",
      "9 4\n",
      "110011110\n",
      "5 4\n",
      "00000\n",
      "5 2\n",
      "01001\n",
      "16 2\n",
      "1110110011110101\n",
      "13 4\n",
      "0101000001000\n",
      "10 4\n",
      "0101000010\n",
      "3 2\n",
      "011\n",
      "10 1\n",
      "0100111010\n",
      "17 3\n",
      "00111011000101110\n",
      "18 2\n",
      "000100101101110111\n",
      "19 3\n",
      "1101101001111010001\n",
      "20 2\n",
      "10110000001100011100\n",
      "15 1\n",
      "111111011101111\n",
      "13 3\n",
      "1001010111100\n",
      "3 2\n",
      "101\n",
      "17 3\n",
      "10011111100100101\n",
      "4 1\n",
      "1001\n",
      "2 4\n",
      "11\n",
      "14 4\n",
      "11010111001111\n",
      "17 4\n",
      "10111000100100010\n",
      "6 3\n",
      "011101\n",
      "5 2\n",
      "11011\n",
      "8 3\n",
      "00100111\n",
      "2 1\n",
      "00\n",
      "14 4\n",
      "00101110001001\n",
      "20 4\n",
      "00010111000011010000\n",
      "9 3\n",
      "011001010\n",
      "8 4\n",
      "01011011\n",
      "11 2\n",
      "11110100011\n",
      "6 3\n",
      "001100\n",
      "12 4\n",
      "011011110100\n",
      "2 3\n",
      "00\n",
      "15 4\n",
      "010100010001111\n",
      "7 3\n",
      "0110100\n",
      "13 4\n",
      "1110101100000\n",
      "17 1\n",
      "01001000001100001\n",
      "10 2\n",
      "1100101010\n",
      "4 3\n",
      "1111\n",
      "18 1\n",
      "010110011001000110\n",
      "18 3\n",
      "111100010001010011\n",
      "10 3\n",
      "1001110000\n",
      "4 2\n",
      "1000\n",
      "14 4\n",
      "11000111011100\n",
      "12 4\n",
      "101000010110\n",
      "14 4\n",
      "11001100011100\n",
      "16 2\n",
      "1111100110001010\n",
      "19 4\n",
      "1000100100101011000\n",
      "20 1\n",
      "01000000101111001111\n",
      "3 3\n",
      "110\n",
      "19 1\n",
      "1111011111010101000\n",
      "2 2\n",
      "11\n",
      "12 3\n",
      "101100000011\n",
      "11 2\n",
      "00000010101\n",
      "20 2\n",
      "10110100010101100101\n",
      "8 2\n",
      "11100100\n",
      "16 4\n",
      "1110111010111110\n",
      "9 4\n",
      "000010001\n",
      "7 2\n",
      "1000010\n",
      "18 1\n",
      "011010101110001110\n",
      "18 2\n",
      "011011000101010010\n",
      "2 3\n",
      "10\n",
      "12 1\n",
      "010011001000\n",
      "7 2\n",
      "1010011\n",
      "14 1\n",
      "01011011000010\n",
      "5 2\n",
      "10011\n",
      "12 4\n",
      "101111110000\n",
      "20 3\n",
      "11110110101001010101\n",
      "2 2\n",
      "10\n",
      "2 4\n",
      "01\n",
      "5 2\n",
      "00110\n",
      "12 1\n",
      "100100001110\n",
      "2 3\n",
      "10\n",
      "15 2\n",
      "110010110110100\n",
      "9 1\n",
      "001110101\n",
      "17 1\n",
      "11010101010001100\n",
      "2 4\n",
      "01\n",
      "18 1\n",
      "010110001010001001\n",
      "10 3\n",
      "0010010000\n",
      "6 1\n",
      "101101\n",
      "14 3\n",
      "11001001111011\n",
      "11 4\n",
      "00101110111\n",
      "4 3\n",
      "0100\n",
      "2 3\n",
      "00\n",
      "2 3\n",
      "01\n",
      "16 4\n",
      "1010101111110010\n",
      "17 2\n",
      "11001001111001110\n",
      "19 1\n",
      "1000101101010001111\n",
      "12 4\n",
      "000001100100\n",
      "8 3\n",
      "11011111\n",
      "17 3\n",
      "00111101010010010\n",
      "19 2\n",
      "1000011010011000111\n",
      "18 2\n",
      "100101110110110010\n",
      "17 1\n",
      "10011101111100111\n",
      "20 2\n",
      "01111100001110010001\n",
      "3 2\n",
      "100\n",
      "11 3\n",
      "11000100001\n",
      "17 4\n",
      "11100000001011100\n",
      "12 1\n",
      "010101001001\n",
      "7 2\n",
      "0011001\n",
      "11 2\n",
      "00110111110\n",
      "2 3\n",
      "11\n",
      "15 2\n",
      "011001101011000\n",
      "2 3\n",
      "10\n",
      "6 4\n",
      "000101\n",
      "19 2\n",
      "1000100001010001011\n",
      "20 4\n",
      "01110011011010001001\n",
      "12 3\n",
      "111101101000\n",
      "7 2\n",
      "0010101\n",
      "20 2\n",
      "01110110101001111001\n",
      "15 3\n",
      "101000010000110\n",
      "2 4\n",
      "01\n",
      "18 3\n",
      "010100101110111000\n",
      "6 3\n",
      "001001\n",
      "3 3\n",
      "001\n",
      "7 3\n",
      "0111010\n",
      "7 4\n",
      "0011011\n",
      "4 2\n",
      "0011\n",
      "2 2\n",
      "00\n",
      "18 1\n",
      "111010000110001011\n",
      "20 2\n",
      "01001001100111011110\n",
      "7 1\n",
      "0111110\n",
      "3 3\n",
      "101\n",
      "16 2\n",
      "1010000110011101\n",
      "15 4\n",
      "010010101111011\n",
      "3 1\n",
      "100\n",
      "6 4\n",
      "110101\n",
      "10 3\n",
      "0100101101\n",
      "2 1\n",
      "00\n",
      "12 4\n",
      "111010011100\n",
      "20 2\n",
      "00010100100010010101\n",
      "18 3\n",
      "100000000111110101\n",
      "17 1\n",
      "10101010011000111\n",
      "14 3\n",
      "01000010111001\n",
      "9 2\n",
      "001000110\n",
      "14 1\n",
      "11011110111111\n",
      "8 3\n",
      "11100111\n",
      "16 4\n",
      "0000001011110110\n",
      "11 1\n",
      "00000010011\n",
      "12 3\n",
      "111101110100\n",
      "13 1\n",
      "1001001000100\n",
      "10 3\n",
      "0111100010\n",
      "10 2\n",
      "0110000010\n",
      "20 3\n",
      "10011001100100111000\n",
      "14 3\n",
      "10000110111111\n",
      "20 2\n",
      "00011001111011010111\n",
      "9 2\n",
      "011010111\n",
      "8 1\n",
      "11011011\n",
      "15 3\n",
      "000110000101000\n",
      "7 3\n",
      "0101010\n",
      "15 4\n",
      "001000101110111\n",
      "7 3\n",
      "1001001\n",
      "15 3\n",
      "100000011101001\n",
      "20 4\n",
      "01001110010011101100\n",
      "14 2\n",
      "01101011111010\n",
      "15 4\n",
      "111111001010010\n",
      "11 2\n",
      "10010101010\n",
      "8 4\n",
      "00001010\n",
      "18 4\n",
      "001001010001111010\n",
      "9 1\n",
      "010100000\n",
      "9 3\n",
      "001010100\n",
      "14 2\n",
      "01010100101010\n",
      "8 4\n",
      "10111010\n",
      "13 2\n",
      "1100010110110\n",
      "4 4\n",
      "0010\n",
      "19 1\n",
      "0001011100010011001\n",
      "12 2\n",
      "001110001100\n",
      "10 4\n",
      "0010011010\n",
      "3 1\n",
      "111\n",
      "18 1\n",
      "011010001000101011\n",
      "12 3\n",
      "000111111010\n",
      "5 3\n",
      "00110\n",
      "12 2\n",
      "100101000011\n",
      "4 2\n",
      "0110\n",
      "16 4\n",
      "1110001010010010\n",
      "4 2\n",
      "1111\n",
      "11 3\n",
      "11110110011\n",
      "8 4\n",
      "11100110\n",
      "7 3\n",
      "1001110\n",
      "10 1\n",
      "0110010111\n",
      "16 4\n",
      "0010001101111001\n",
      "13 1\n",
      "1000111011011\n",
      "20 4\n",
      "01111000001110000100\n",
      "5 2\n",
      "11011\n",
      "6 1\n",
      "011010\n",
      "15 4\n",
      "110001001110100\n",
      "9 2\n",
      "110101100\n",
      "8 2\n",
      "01111100\n",
      "6 1\n",
      "101110\n",
      "13 1\n",
      "0111101001010\n",
      "3 2\n",
      "101\n",
      "4 2\n",
      "1100\n",
      "5 2\n",
      "00001\n",
      "15 4\n",
      "110110110100010\n",
      "8 3\n",
      "10001000\n",
      "8 1\n",
      "10111111\n",
      "19 1\n",
      "1111111001101111011\n",
      "14 1\n",
      "00110111111000\n",
      "18 2\n",
      "011110101110000110\n",
      "13 2\n",
      "1101110100110\n",
      "18 1\n",
      "010000100111000001\n",
      "2 4\n",
      "00\n",
      "4 4\n",
      "0011\n",
      "14 2\n",
      "11111110111000\n",
      "6 3\n",
      "000110\n",
      "13 2\n",
      "1011010011110\n",
      "5 3\n",
      "01011\n",
      "9 4\n",
      "000010100\n",
      "5 3\n",
      "11000\n",
      "9 3\n",
      "111010001\n",
      "11 1\n",
      "00011011101\n",
      "7 4\n",
      "0111001\n",
      "6 2\n",
      "001101\n",
      "5 4\n",
      "00100\n",
      "17 4\n",
      "01000110001000011\n",
      "3 4\n",
      "001\n",
      "7 3\n",
      "0011000\n",
      "20 3\n",
      "01101101011111110011\n",
      "18 2\n",
      "010000011010000000\n",
      "19 4\n",
      "1110001110101010000\n",
      "13 2\n",
      "0110010100010\n",
      "6 4\n",
      "100110\n",
      "2 3\n",
      "00\n",
      "3 1\n",
      "010\n",
      "12 4\n",
      "000110011011\n",
      "14 3\n",
      "00011011101001\n",
      "18 3\n",
      "111011000101001011\n",
      "18 3\n",
      "010001111101001111\n",
      "8 2\n",
      "01101001\n",
      "10 2\n",
      "1111111101\n",
      "11 3\n",
      "10000010011\n",
      "10 3\n",
      "1111110000\n",
      "11 1\n",
      "01111011111\n",
      "7 1\n",
      "0011001\n",
      "13 3\n",
      "1101000001010\n",
      "4 3\n",
      "1100\n",
      "12 2\n",
      "001001001010\n",
      "4 3\n",
      "1111\n",
      "13 2\n",
      "0000010100110\n",
      "8 1\n",
      "01111000\n",
      "20 3\n",
      "01000001101100011000\n",
      "9 3\n",
      "000001001\n",
      "7 3\n",
      "0100001\n",
      "4 3\n",
      "0010\n",
      "5 1\n",
      "01010\n",
      "19 1\n",
      "1111001010110100010\n",
      "19 3\n",
      "0001001111010101001\n",
      "3 2\n",
      "100\n",
      "18 3\n",
      "101101101000000000\n",
      "6 1\n",
      "000010\n",
      "16 2\n",
      "1000000110001101\n",
      "17 4\n",
      "10001010101111110\n",
      "20 1\n",
      "10010101110010000010\n",
      "2 3\n",
      "10\n",
      "16 1\n",
      "1001011011010100\n",
      "16 3\n",
      "1001110011011111\n",
      "15 2\n",
      "010010100010001\n",
      "16 4\n",
      "1111111000000101\n",
      "18 4\n",
      "110100101001100011\n",
      "13 3\n",
      "1011001110101\n",
      "20 1\n",
      "10010001000000111011\n",
      "7 3\n",
      "1000111\n",
      "13 3\n",
      "1000100100010\n",
      "15 1\n",
      "101011111001001\n",
      "11 3\n",
      "11101011010\n",
      "7 4\n",
      "1111100\n",
      "3 4\n",
      "010\n",
      "18 2\n",
      "010101011111110001\n",
      "5 3\n",
      "00000\n",
      "10 1\n",
      "1000100111\n",
      "3 4\n",
      "010\n",
      "11 2\n",
      "00100011100\n",
      "10 2\n",
      "0000010001\n",
      "17 1\n",
      "00111110011011100\n",
      "6 1\n",
      "000000\n",
      "3 4\n",
      "001\n",
      "18 3\n",
      "100111001010100000\n",
      "18 3\n",
      "001000000110001101\n",
      "20 3\n",
      "01011000101010101100\n",
      "11 2\n",
      "00001011011\n",
      "10 2\n",
      "1110011011\n",
      "11 1\n",
      "00011001011\n",
      "4 4\n",
      "0111\n",
      "2 3\n",
      "01\n",
      "6 1\n",
      "011110\n",
      "18 2\n",
      "011001011001111110\n",
      "7 2\n",
      "0011111\n",
      "11 2\n",
      "11000001010\n",
      "14 4\n",
      "01100101010110\n",
      "3 2\n",
      "101\n",
      "18 2\n",
      "001111011000110010\n",
      "13 4\n",
      "1100110000010\n",
      "17 1\n",
      "01101111010011100\n",
      "18 2\n",
      "100101001110001001\n",
      "13 1\n",
      "1101001101100\n",
      "15 1\n",
      "101000111111111\n",
      "9 4\n",
      "001000011\n",
      "16 1\n",
      "0001111001011101\n",
      "4 1\n",
      "1110\n",
      "16 4\n",
      "0000110000111000\n",
      "6 1\n",
      "100110\n",
      "15 3\n",
      "100111010011110\n",
      "13 2\n",
      "0100110010110\n",
      "19 1\n",
      "0100010111110111011\n",
      "4 1\n",
      "0001\n",
      "19 1\n",
      "1010001011111011010\n",
      "17 1\n",
      "10101100111111001\n",
      "20 2\n",
      "10111101101100110100\n",
      "15 1\n",
      "001101111110111\n",
      "11 3\n",
      "01011100011\n",
      "3 1\n",
      "111\n",
      "20 1\n",
      "10011111100111111001\n",
      "12 1\n",
      "001101110000\n",
      "5 4\n",
      "01001\n",
      "10 2\n",
      "0100110101\n",
      "8 1\n",
      "11000011\n",
      "15 4\n",
      "101010010101110\n",
      "9 4\n",
      "100000110\n",
      "16 4\n",
      "1000110100101000\n",
      "5 2\n",
      "10110\n",
      "4 2\n",
      "0000\n",
      "6 2\n",
      "101011\n",
      "3 1\n",
      "001\n",
      "11 1\n",
      "01110100101\n",
      "13 1\n",
      "1110101011110\n",
      "13 3\n",
      "0000001100110\n",
      "4 1\n",
      "0000\n",
      "7 3\n",
      "0000110\n",
      "20 1\n",
      "00110110010001101001\n",
      "18 4\n",
      "000000101101110100\n",
      "19 1\n",
      "0011100000110111111\n",
      "14 2\n",
      "01001011001011\n",
      "19 3\n",
      "0010100010000010101\n",
      "13 2\n",
      "1001011111101\n",
      "11 4\n",
      "00001110000\n",
      "6 2\n",
      "101010\n",
      "19 2\n",
      "1001001111101001111\n",
      "2 4\n",
      "01\n",
      "12 1\n",
      "011101110101\n",
      "4 2\n",
      "1101\n",
      "16 4\n",
      "0001001010001000\n",
      "10 1\n",
      "1111010011\n",
      "6 2\n",
      "110100\n",
      "19 4\n",
      "0000001001101100110\n",
      "5 3\n",
      "10010\n",
      "11 3\n",
      "01010101100\n",
      "14 3\n",
      "01110101010101\n",
      "6 2\n",
      "010010\n",
      "3 2\n",
      "110\n",
      "7 4\n",
      "0101111\n",
      "7 4\n",
      "0000111\n",
      "9 2\n",
      "100011000\n",
      "19 1\n",
      "1101000100011111111\n",
      "17 1\n",
      "00000000101101110\n",
      "10 2\n",
      "1011111111\n",
      "4 3\n",
      "1001\n",
      "7 2\n",
      "1011000\n",
      "2 4\n",
      "00\n",
      "7 3\n",
      "0001000\n",
      "12 4\n",
      "110011011101\n",
      "3 2\n",
      "000\n",
      "5 2\n",
      "01011\n",
      "12 3\n",
      "101101100101\n",
      "11 4\n",
      "00000011000\n",
      "14 4\n",
      "01100010001010\n",
      "14 1\n",
      "11000101010010\n",
      "9 2\n",
      "000000110\n",
      "5 1\n",
      "00010\n",
      "12 3\n",
      "011110000110\n",
      "6 2\n",
      "100001\n",
      "18 3\n",
      "100110010000001010\n",
      "9 4\n",
      "001101110\n",
      "14 4\n",
      "00011110100000\n",
      "15 3\n",
      "100101100100100\n",
      "19 2\n",
      "1101000111100010110\n",
      "18 2\n",
      "100000001101011001\n",
      "11 4\n",
      "00001111100\n",
      "18 2\n",
      "010110000000101111\n",
      "16 2\n",
      "1010110011100101\n",
      "8 2\n",
      "01001111\n",
      "13 3\n",
      "1100100101011\n",
      "20 1\n",
      "11101100111101000110\n",
      "7 3\n",
      "0110110\n",
      "20 1\n",
      "01110110011000101100\n",
      "19 3\n",
      "1100111100010110111\n",
      "14 1\n",
      "00000011100111\n",
      "14 3\n",
      "11001110100110\n",
      "14 2\n",
      "01111100010101\n",
      "19 3\n",
      "0011010010111101101\n",
      "4 1\n",
      "1001\n",
      "7 4\n",
      "0000111\n",
      "18 3\n",
      "000110010100000100\n",
      "3 1\n",
      "110\n",
      "15 2\n",
      "001100111000111\n",
      "11 4\n",
      "01110101111\n",
      "18 4\n",
      "001001011110101010\n",
      "4 1\n",
      "0100\n",
      "12 2\n",
      "000110111010\n",
      "5 3\n",
      "00011\n",
      "10 2\n",
      "0101011100\n",
      "6 2\n",
      "100011\n",
      "19 1\n",
      "1011001111011000100\n",
      "5 4\n",
      "11001\n",
      "11 2\n",
      "10010100010\n",
      "17 3\n",
      "11111100001100111\n",
      "9 3\n",
      "110110111\n",
      "16 1\n",
      "1010101010001011\n",
      "13 4\n",
      "0000000001100\n",
      "3 4\n",
      "000\n",
      "20 3\n",
      "10000111101111110011\n",
      "14 1\n",
      "11000000111100\n",
      "3 4\n",
      "101\n",
      "9 3\n",
      "011111011\n",
      "8 4\n",
      "00010110\n",
      "8 4\n",
      "10101110\n",
      "13 3\n",
      "0000100100101\n",
      "18 1\n",
      "101111011111111111\n",
      "12 2\n",
      "010111001101\n",
      "2 2\n",
      "11\n",
      "8 1\n",
      "10000110\n",
      "20 4\n",
      "01110110000101011100\n",
      "13 1\n",
      "1001000101111\n",
      "20 3\n",
      "01000010001100100100\n",
      "3 4\n",
      "000\n",
      "5 2\n",
      "11011\n",
      "9 1\n",
      "001001001\n",
      "8 4\n",
      "10100010\n",
      "18 4\n",
      "100001110011111100\n",
      "12 2\n",
      "100000000100\n",
      "5 3\n",
      "10110\n",
      "5 2\n",
      "10011\n",
      "15 4\n",
      "001010000001111\n",
      "18 1\n",
      "100000101101110111\n",
      "14 2\n",
      "10000010110011\n",
      "3 1\n",
      "101\n",
      "20 3\n",
      "00110001111011110010\n",
      "12 4\n",
      "010110100111\n",
      "16 4\n",
      "0111011000001000\n",
      "7 2\n",
      "1000111\n",
      "16 1\n",
      "0111111101101011\n",
      "10 4\n",
      "1001110111\n",
      "7 3\n",
      "1101110\n",
      "17 2\n",
      "11101100001000110\n",
      "8 3\n",
      "10010110\n",
      "17 1\n",
      "01000101001011011\n",
      "5 2\n",
      "11010\n",
      "13 2\n",
      "1000111110111\n",
      "9 3\n",
      "010110100\n",
      "11 3\n",
      "01111100111\n",
      "10 3\n",
      "1011101001\n",
      "16 2\n",
      "0111101111010100\n",
      "10 2\n",
      "1000100001\n",
      "16 2\n",
      "1100011010000100\n",
      "10 1\n",
      "0000110001\n",
      "2 1\n",
      "00\n",
      "9 2\n",
      "111000000\n",
      "12 2\n",
      "010110011010\n",
      "3 3\n",
      "010\n",
      "17 3\n",
      "10101100111101111\n",
      "20 2\n",
      "11010000101011111111\n",
      "14 4\n",
      "10010101111100\n",
      "4 4\n",
      "0001\n",
      "15 4\n",
      "110100001110000\n",
      "14 2\n",
      "01001100010111\n",
      "10 3\n",
      "0110110111\n",
      "11 2\n",
      "01000000000\n",
      "14 3\n",
      "00100111000001\n",
      "14 4\n",
      "10001100101010\n",
      "14 1\n",
      "11111101000011\n",
      "3 2\n",
      "111\n",
      "12 2\n",
      "011000000110\n",
      "3 1\n",
      "001\n",
      "20 2\n",
      "01000100111111000111\n",
      "12 3\n",
      "001010011010\n",
      "4 3\n",
      "0101\n",
      "11 1\n",
      "01010110001\n",
      "6 4\n",
      "010100\n",
      "5 4\n",
      "01100\n",
      "18 3\n",
      "000000000001101101\n",
      "8 3\n",
      "01001001\n",
      "10 3\n",
      "0100110110\n",
      "9 4\n",
      "001010001\n",
      "9 1\n",
      "100000000\n",
      "12 3\n",
      "010001101110\n",
      "18 2\n",
      "000010010011101100\n",
      "3 4\n",
      "111\n",
      "2 3\n",
      "10\n",
      "17 1\n",
      "10001011100011001\n",
      "5 1\n",
      "10100\n",
      "19 4\n",
      "0110011100100100100\n",
      "13 1\n",
      "0100111110011\n",
      "12 1\n",
      "010011101010\n",
      "20 1\n",
      "10100010100010000111\n",
      "9 4\n",
      "000010000\n",
      "4 1\n",
      "0011\n",
      "8 1\n",
      "00111000\n",
      "16 2\n",
      "0100100111100011\n",
      "6 3\n",
      "001001\n",
      "5 2\n",
      "11101\n",
      "15 2\n",
      "111100110010010\n",
      "13 2\n",
      "1011111000001\n",
      "4 1\n",
      "1101\n",
      "18 4\n",
      "001000010000111101\n",
      "17 2\n",
      "11101110010011111\n",
      "10 1\n",
      "0000101010\n",
      "12 3\n",
      "101110110111\n",
      "7 2\n",
      "1000111\n",
      "3 2\n",
      "100\n",
      "5 4\n",
      "10000\n",
      "19 3\n",
      "1110111110010001111\n",
      "5 3\n",
      "00100\n",
      "8 1\n",
      "10000100\n",
      "3 4\n",
      "000\n",
      "12 1\n",
      "110110101110\n",
      "7 4\n",
      "0100110\n",
      "11 4\n",
      "10000110001\n",
      "9 4\n",
      "011010001\n",
      "2 4\n",
      "00\n",
      "10 1\n",
      "1010000011\n",
      "16 4\n",
      "1110001110100100\n",
      "14 3\n",
      "00010111101010\n",
      "15 4\n",
      "001110110100010\n",
      "7 4\n",
      "0000011\n",
      "17 3\n",
      "11000110011110010\n",
      "14 1\n",
      "01110010111111\n",
      "5 4\n",
      "10101\n",
      "15 3\n",
      "111110111110101\n",
      "7 3\n",
      "0000010\n",
      "7 4\n",
      "1100101\n",
      "6 1\n",
      "100000\n",
      "7 3\n",
      "1111111\n",
      "13 4\n",
      "0000101011011\n",
      "12 4\n",
      "011110001000\n",
      "3 3\n",
      "100\n",
      "9 4\n",
      "111101011\n",
      "10 4\n",
      "0001011001\n",
      "8 4\n",
      "00101000\n",
      "6 1\n",
      "100110\n",
      "16 3\n",
      "1100010101011100\n",
      "8 4\n",
      "01010011\n",
      "13 4\n",
      "0000000010110\n",
      "15 3\n",
      "101010000011001\n",
      "12 4\n",
      "010010100000\n",
      "6 2\n",
      "001011\n",
      "19 4\n",
      "0100110011110011110\n",
      "6 3\n",
      "100010\n",
      "2 4\n",
      "01\n",
      "20 2\n",
      "00100100110011110111\n",
      "18 4\n",
      "101110010100101010\n",
      "9 3\n",
      "001011111\n",
      "11 4\n",
      "10010011100\n",
      "18 2\n",
      "011001011110011110\n",
      "17 1\n",
      "01100110000001010\n",
      "14 2\n",
      "11111001000110\n",
      "19 2\n",
      "0100010111001011111\n",
      "4 1\n",
      "1011\n",
      "12 2\n",
      "000001000010\n",
      "14 1\n",
      "11001100001000\n",
      "7 4\n",
      "0100011\n",
      "15 1\n",
      "110110111011000\n",
      "14 1\n",
      "11011011010010\n",
      "17 2\n",
      "00000110011111101\n",
      "8 2\n",
      "00001101\n",
      "13 1\n",
      "1111001000110\n",
      "2 4\n",
      "10\n",
      "15 1\n",
      "100111001111110\n",
      "2 4\n",
      "00\n",
      "19 1\n",
      "0101110001111100000\n",
      "2 1\n",
      "00\n",
      "16 1\n",
      "0110010111010110\n",
      "19 2\n",
      "1111011101110100110\n",
      "3 2\n",
      "010\n",
      "19 2\n",
      "1100010011000110111\n",
      "9 4\n",
      "111000001\n",
      "12 2\n",
      "110110110101\n",
      "15 1\n",
      "010000111111100\n",
      "15 2\n",
      "111101100111110\n",
      "2 3\n",
      "00\n",
      "11 4\n",
      "00111111111\n",
      "11 3\n",
      "11100100000\n",
      "20 3\n",
      "11011101000011110111\n",
      "13 2\n",
      "0010001110100\n",
      "10 3\n",
      "0011001010\n",
      "17 3\n",
      "11110101011010001\n",
      "8 2\n",
      "11001111\n",
      "9 1\n",
      "001000011\n",
      "2 2\n",
      "10\n",
      "10 2\n",
      "1100101010\n",
      "11 2\n",
      "11101000011\n",
      "10 2\n",
      "0001101111\n",
      "5 1\n",
      "00010\n",
      "16 2\n",
      "1100111001001111\n",
      "20 2\n",
      "11010010111100001101\n",
      "16 4\n",
      "0000011010100110\n",
      "4 1\n",
      "0101\n",
      "6 1\n",
      "110111\n",
      "11 4\n",
      "10101010011\n",
      "13 3\n",
      "1011111000110\n",
      "8 3\n",
      "00001000\n",
      "16 3\n",
      "1110011000100111\n",
      "4 1\n",
      "1111\n",
      "3 4\n",
      "110\n",
      "16 1\n",
      "0011010110101111\n",
      "10 1\n",
      "1111011000\n",
      "10 4\n",
      "0110101111\n",
      "6 3\n",
      "110110\n",
      "7 4\n",
      "0110011\n",
      "13 3\n",
      "0000001111010\n",
      "4 3\n",
      "1011\n",
      "2 1\n",
      "10\n",
      "16 4\n",
      "0101000100001001\n",
      "4 2\n",
      "0111\n",
      "3 2\n",
      "000\n",
      "8 2\n",
      "11111100\n",
      "3 3\n",
      "111\n",
      "2 3\n",
      "01\n",
      "2 4\n",
      "11\n",
      "5 2\n",
      "00010\n",
      "15 1\n",
      "001111001010111\n",
      "16 2\n",
      "1111101001001101\n",
      "4 4\n",
      "1000\n",
      "10 4\n",
      "0000101111\n",
      "17 4\n",
      "10001010011101011\n",
      "15 3\n",
      "000111000100000\n",
      "15 4\n",
      "001111011100011\n",
      "16 4\n",
      "1011111011010100\n",
      "7 2\n",
      "0001010\n",
      "16 2\n",
      "1011000110010000\n",
      "14 1\n",
      "00001100010010\n",
      "4 3\n",
      "0000\n",
      "20 2\n",
      "01001101101110001000\n",
      "7 1\n",
      "0001101\n",
      "5 1\n",
      "00011\n",
      "15 2\n",
      "100111111010110\n",
      "6 1\n",
      "010010\n",
      "20 2\n",
      "10001100011001000101\n",
      "7 4\n",
      "1111111\n",
      "18 2\n",
      "110011001010011000\n",
      "18 3\n",
      "110001100010100000\n",
      "12 2\n",
      "010011010101\n",
      "3 1\n",
      "101\n",
      "20 4\n",
      "10110111111000100011\n",
      "14 3\n",
      "11111100100100\n",
      "16 4\n",
      "0101011001010111\n",
      "13 1\n",
      "0001100100000\n",
      "20 3\n",
      "01001101110000000010\n",
      "2 1\n",
      "00\n",
      "8 4\n",
      "00011111\n",
      "3 1\n",
      "101\n",
      "18 4\n",
      "010111111001001000\n",
      "3 1\n",
      "011\n",
      "8 4\n",
      "10110010\n",
      "2 4\n",
      "10\n",
      "12 3\n",
      "001111110110\n",
      "19 2\n",
      "0001001111010001111\n",
      "12 3\n",
      "110111000111\n",
      "17 2\n",
      "00110110100011011\n",
      "12 4\n",
      "110010000010\n",
      "19 1\n",
      "0001011011011010100\n",
      "4 2\n",
      "0100\n",
      "12 3\n",
      "111101101111\n",
      "17 4\n",
      "11100111110100010\n",
      "2 1\n",
      "10\n",
      "11 4\n",
      "11001111100\n",
      "17 3\n",
      "10100011011011001\n",
      "7 1\n",
      "0100110\n",
      "16 3\n",
      "0010101001001001\n",
      "4 2\n",
      "1011\n",
      "16 3\n",
      "0011001100000101\n",
      "14 1\n",
      "01000110100000\n",
      "6 1\n",
      "110000\n",
      "5 3\n",
      "11101\n",
      "3 4\n",
      "110\n",
      "19 3\n",
      "0010111010110000110\n",
      "13 4\n",
      "1010001100001\n",
      "4 1\n",
      "0110\n",
      "13 3\n",
      "1110111111111\n",
      "3 2\n",
      "011\n",
      "12 1\n",
      "111111001010\n",
      "7 1\n",
      "0101001\n",
      "16 4\n",
      "1101000100100011\n",
      "16 1\n",
      "0000110110001010\n",
      "4 3\n",
      "1110\n",
      "3 3\n",
      "101\n",
      "6 2\n",
      "101100\n",
      "12 3\n",
      "000000100011\n",
      "20 1\n",
      "01110110100111110110\n",
      "13 3\n",
      "1001110001101\n",
      "12 1\n",
      "100010010011\n",
      "18 3\n",
      "111101111110001111\n",
      "8 4\n",
      "00100110\n",
      "16 3\n",
      "0001011011000010\n",
      "11 3\n",
      "01000110111\n",
      "3 1\n",
      "110\n",
      "3 4\n",
      "010\n",
      "18 3\n",
      "100010101100001101\n",
      "19 2\n",
      "0111011001101000011\n",
      "14 2\n",
      "00011011011110\n",
      "6 4\n",
      "001001\n",
      "11 2\n",
      "11100111010\n",
      "4 3\n",
      "1100\n",
      "5 4\n",
      "01000\n",
      "10 4\n",
      "0111110111\n",
      "12 3\n",
      "100011011011\n",
      "8 4\n",
      "10000111\n",
      "19 3\n",
      "0100101001111100100\n",
      "11 3\n",
      "00010000001\n",
      "14 4\n",
      "11011001110110\n",
      "7 3\n",
      "0111101\n",
      "8 3\n",
      "01100011\n",
      "13 4\n",
      "0101000110000\n",
      "10 4\n",
      "1001000001\n",
      "15 4\n",
      "100011110111100\n",
      "20 1\n",
      "01010111011011100101\n",
      "12 2\n",
      "100111011001\n",
      "5 4\n",
      "01110\n",
      "15 4\n",
      "001000000010010\n",
      "13 4\n",
      "1011101000000\n",
      "3 2\n",
      "011\n",
      "9 2\n",
      "110111010\n",
      "17 2\n",
      "10001001011001101\n",
      "12 2\n",
      "000100010110\n",
      "19 2\n",
      "0011010011101001100\n",
      "19 2\n",
      "0011110100111101101\n",
      "15 4\n",
      "000011000101100\n",
      "10 4\n",
      "1110100000\n",
      "15 2\n",
      "100100000100101\n",
      "14 1\n",
      "01110100101110\n",
      "9 3\n",
      "001100000\n",
      "13 4\n",
      "1011110001011\n",
      "15 4\n",
      "010011111000001\n",
      "5 2\n",
      "00110\n",
      "11 4\n",
      "00011001010\n",
      "10 1\n",
      "1010010100\n",
      "13 4\n",
      "1100101001101\n",
      "4 1\n",
      "0110\n",
      "18 4\n",
      "001001100010001011\n",
      "18 4\n",
      "110010000101110000\n",
      "2 4\n",
      "00\n",
      "13 1\n",
      "0100111100100\n",
      "7 1\n",
      "1101110\n",
      "6 4\n",
      "101010\n",
      "10 3\n",
      "1000011001\n",
      "13 1\n",
      "1000000011100\n",
      "10 4\n",
      "1111101110\n",
      "14 3\n",
      "10100111001111\n",
      "7 3\n",
      "1001100\n",
      "5 1\n",
      "01000\n",
      "6 2\n",
      "001100\n",
      "6 4\n",
      "001100\n",
      "2 1\n",
      "11\n",
      "11 2\n",
      "00110011010\n",
      "10 4\n",
      "1011111010\n",
      "5 1\n",
      "11011\n",
      "9 4\n",
      "011111011\n",
      "2 4\n",
      "01\n",
      "11 3\n",
      "10011101101\n",
      "4 4\n",
      "0011\n",
      "14 3\n",
      "10111001011110\n",
      "8 3\n",
      "00110100\n",
      "6 1\n",
      "101011\n",
      "11 1\n",
      "00110110100\n",
      "20 3\n",
      "01001100111000101010\n",
      "6 3\n",
      "000001\n",
      "15 3\n",
      "011111100001010\n",
      "3 1\n",
      "101\n",
      "11 3\n",
      "10000111011\n",
      "6 4\n",
      "110001\n",
      "12 4\n",
      "111010111101\n",
      "13 3\n",
      "0111101011011\n",
      "19 3\n",
      "1100001110011100010\n",
      "5 3\n",
      "01010\n",
      "16 2\n",
      "0101101011110011\n",
      "18 1\n",
      "000110001101011010\n",
      "3 3\n",
      "001\n",
      "17 2\n",
      "10110100111110001\n",
      "8 3\n",
      "01011111\n",
      "8 1\n",
      "00011100\n",
      "12 3\n",
      "110111001101\n",
      "17 4\n",
      "11001010000101000\n",
      "5 3\n",
      "11010\n",
      "19 2\n",
      "0000111110101010110\n",
      "3 4\n",
      "111\n",
      "6 1\n",
      "101010\n",
      "13 2\n",
      "1100010010110\n",
      "7 2\n",
      "1011100\n",
      "20 1\n",
      "01011100000111101110\n",
      "9 4\n",
      "001111100\n",
      "18 2\n",
      "100101111110010110\n",
      "8 3\n",
      "01101101\n",
      "2 2\n",
      "10\n",
      "6 2\n",
      "011000\n",
      "6 2\n",
      "001001\n",
      "3 3\n",
      "000\n",
      "5 4\n",
      "01100\n",
      "17 3\n",
      "10101010101100010\n",
      "13 1\n",
      "1101010010101\n",
      "19 3\n",
      "0011111110110111011\n",
      "7 1\n",
      "1000100\n",
      "3 4\n",
      "101\n",
      "12 2\n",
      "101000111011\n",
      "20 4\n",
      "01011010101010001110\n",
      "8 4\n",
      "00010100\n",
      "12 1\n",
      "110010010110\n",
      "6 1\n",
      "011010\n",
      "4 1\n",
      "1001\n",
      "17 4\n",
      "01011010000101111\n",
      "13 3\n",
      "1111011100011\n",
      "5 2\n",
      "10001\n",
      "18 2\n",
      "000111000110010110\n",
      "14 2\n",
      "11110100011101\n",
      "5 1\n",
      "00001\n",
      "4 3\n",
      "1111\n",
      "11 4\n",
      "00000110011\n",
      "3 4\n",
      "000\n",
      "17 4\n",
      "01000101100010101\n",
      "7 4\n",
      "0110001\n",
      "8 2\n",
      "01111110\n",
      "19 4\n",
      "1101111110101011000\n",
      "11 2\n",
      "00111001101\n",
      "3 2\n",
      "001\n",
      "8 3\n",
      "00101101\n",
      "11 1\n",
      "11111001011\n",
      "14 1\n",
      "00110011000110\n",
      "16 2\n",
      "0100001011001111\n",
      "5 4\n",
      "01111\n",
      "14 4\n",
      "11111011000001\n",
      "4 1\n",
      "1010\n",
      "9 1\n",
      "001101100\n",
      "16 3\n",
      "0111101101101100\n",
      "9 3\n",
      "001010001\n",
      "17 2\n",
      "11111110111000101\n",
      "5 3\n",
      "10101\n",
      "17 3\n",
      "00110000100111101\n",
      "3 2\n",
      "101\n",
      "7 1\n",
      "0101010\n",
      "6 1\n",
      "011110\n",
      "17 3\n",
      "11001111111000010\n",
      "18 1\n",
      "001000011100111111\n",
      "20 1\n",
      "11011010101001111000\n",
      "14 4\n",
      "10110101001110\n",
      "17 4\n",
      "01100001000000110\n",
      "7 4\n",
      "0000001\n",
      "10 2\n",
      "1001000101\n",
      "4 2\n",
      "1110\n",
      "15 3\n",
      "100110001001101\n",
      "7 2\n",
      "1001001\n",
      "13 1\n",
      "1100011101000\n",
      "19 4\n",
      "1001010010001001100\n",
      "11 1\n",
      "00000011011\n",
      "9 3\n",
      "011010101\n",
      "17 1\n",
      "11000001101001000\n",
      "19 2\n",
      "1001100110100011011\n",
      "19 3\n",
      "1100010010000111001\n",
      "9 3\n",
      "110110111\n",
      "2 4\n",
      "01\n",
      "15 1\n",
      "110101011000110\n",
      "7 3\n",
      "1110011\n",
      "2 2\n",
      "01\n",
      "14 1\n",
      "01010100001110\n",
      "11 3\n",
      "01000010111\n",
      "13 3\n",
      "1001110010000\n",
      "8 2\n",
      "10001000\n",
      "2 1\n",
      "00\n",
      "3 3\n",
      "000\n",
      "11 4\n",
      "00000101111\n",
      "15 4\n",
      "100001011100010\n",
      "17 2\n",
      "11011011010100110\n",
      "6 1\n",
      "100000\n",
      "6 1\n",
      "110000\n",
      "6 2\n",
      "001000\n",
      "16 2\n",
      "1111001110100010\n",
      "11 4\n",
      "01110001100\n",
      "2 1\n",
      "10\n",
      "6 1\n",
      "101101\n",
      "6 4\n",
      "001100\n",
      "9 2\n",
      "010001111\n",
      "20 1\n",
      "01110100001011100111\n",
      "2 1\n",
      "00\n",
      "11 3\n",
      "10101100111\n",
      "3 1\n",
      "011\n",
      "15 3\n",
      "000011000010001\n",
      "3 1\n",
      "010\n",
      "7 2\n",
      "0001101\n",
      "6 3\n",
      "110101\n",
      "9 2\n",
      "110011111\n",
      "7 2\n",
      "0000010\n",
      "5 4\n",
      "10000\n",
      "9 2\n",
      "101000101\n",
      "16 3\n",
      "1100101010100110\n",
      "14 4\n",
      "11011011101011\n",
      "9 4\n",
      "001001100\n",
      "17 2\n",
      "01101101001000100\n",
      "11 4\n",
      "11010010110\n",
      "10 1\n",
      "1110111010\n",
      "6 3\n",
      "100001\n",
      "16 4\n",
      "1011101111110001\n",
      "19 1\n",
      "0000110110110100000\n",
      "12 1\n",
      "010101011010\n",
      "16 4\n",
      "1001001000000001\n",
      "9 3\n",
      "101011100\n",
      "13 4\n",
      "1001111001110\n",
      "2 3\n",
      "00\n",
      "4 2\n",
      "0100\n",
      "6 1\n",
      "000110\n",
      "20 4\n",
      "11100111111001101010\n",
      "4 2\n",
      "0010\n",
      "17 2\n",
      "11000100101101000\n",
      "4 2\n",
      "1010\n",
      "14 1\n",
      "01000111110000\n",
      "19 1\n",
      "1100010111001101111\n",
      "9 4\n",
      "100010110\n",
      "14 1\n",
      "10111011101100\n",
      "9 4\n",
      "111010101\n",
      "13 4\n",
      "0000101011011\n",
      "14 1\n",
      "00110001000001\n",
      "12 2\n",
      "100101000001\n",
      "11 1\n",
      "11101010010\n",
      "10 3\n",
      "1010001111\n",
      "17 2\n",
      "01101010001110110\n",
      "7 4\n",
      "0101010\n",
      "15 1\n",
      "011110100100010\n",
      "2 4\n",
      "11\n",
      "20 2\n",
      "10000011111010100001\n",
      "13 4\n",
      "0101011000101\n",
      "10 2\n",
      "1001101110\n",
      "16 3\n",
      "0110111111100101\n",
      "15 2\n",
      "111001011011101\n",
      "12 1\n",
      "100011100111\n",
      "11 3\n",
      "11011100010\n",
      "8 3\n",
      "11101000\n",
      "14 4\n",
      "10111001100001\n",
      "16 4\n",
      "0101011001111000\n",
      "17 2\n",
      "01110111100101000\n",
      "10 4\n",
      "1101010011\n",
      "8 4\n",
      "11111001\n",
      "7 2\n",
      "0100111\n",
      "9 4\n",
      "111111101\n",
      "5 3\n",
      "11011\n",
      "9 3\n",
      "000001111\n",
      "9 3\n",
      "000100011\n",
      "19 4\n",
      "1100000100010001111\n",
      "8 4\n",
      "11110110\n",
      "11 4\n",
      "00011001111\n",
      "17 3\n",
      "10100100110100001\n",
      "7 2\n",
      "1110001\n",
      "10 3\n",
      "1110101100\n",
      "15 3\n",
      "001010001001000\n",
      "7 3\n",
      "0101100\n",
      "11 4\n",
      "10000000001\n",
      "6 3\n",
      "011101\n",
      "13 2\n",
      "0100000000001\n",
      "9 1\n",
      "011111111\n",
      "8 4\n",
      "11011010\n",
      "18 2\n",
      "100000000011001101\n",
      "6 4\n",
      "011111\n",
      "13 1\n",
      "1100100000101\n",
      "8 4\n",
      "00011110\n",
      "13 3\n",
      "1110101101101\n",
      "17 4\n",
      "11110000100001110\n",
      "8 2\n",
      "00111100\n",
      "18 3\n",
      "111110100101100100\n",
      "12 2\n",
      "101110011111\n",
      "14 3\n",
      "10101001110100\n",
      "6 1\n",
      "010011\n",
      "17 2\n",
      "01010000101001110\n",
      "15 1\n",
      "000010001100000\n",
      "15 3\n",
      "011110011000111\n",
      "3 4\n",
      "001\n",
      "3 4\n",
      "000\n",
      "12 3\n",
      "111000101100\n",
      "2 1\n",
      "01\n",
      "13 2\n",
      "0101100100110\n",
      "6 2\n",
      "101011\n",
      "15 3\n",
      "001010010011001\n",
      "8 3\n",
      "10101110\n",
      "19 4\n",
      "1000010101101100100\n",
      "8 1\n",
      "11111010\n",
      "14 2\n",
      "00000111011110\n",
      "6 2\n",
      "000111\n",
      "4 4\n",
      "1001\n",
      "20 3\n",
      "10101101001011111100\n",
      "2 3\n",
      "01\n",
      "4 2\n",
      "0000\n",
      "6 1\n",
      "010000\n",
      "15 3\n",
      "101001110111000\n",
      "15 4\n",
      "101011110011001\n",
      "4 4\n",
      "1000\n",
      "8 3\n",
      "11110110\n",
      "10 4\n",
      "0001100100\n",
      "17 4\n",
      "01000000001110001\n",
      "10 1\n",
      "0000001000\n",
      "13 4\n",
      "0001100000101\n",
      "4 2\n",
      "1011\n",
      "20 3\n",
      "10101100101111011110\n",
      "8 4\n",
      "10101010\n",
      "8 4\n",
      "01110000\n",
      "9 2\n",
      "001011100\n",
      "16 3\n",
      "1100001010110000\n",
      "7 1\n",
      "0100100\n",
      "3 3\n",
      "001\n",
      "18 2\n",
      "100110010101000100\n",
      "7 3\n",
      "0100011\n",
      "18 3\n",
      "000101100101000011\n",
      "14 4\n",
      "01001100010100\n",
      "2 1\n",
      "10\n",
      "16 1\n",
      "1110101110001011\n",
      "13 1\n",
      "0110100011011\n",
      "7 4\n",
      "1010010\n",
      "3 4\n",
      "111\n",
      "4 1\n",
      "1000\n",
      "19 3\n",
      "0000011011000001010\n",
      "11 4\n",
      "00001010100\n",
      "17 2\n",
      "11111100001010010\n",
      "7 4\n",
      "1111101\n",
      "20 2\n",
      "10010111001011110100\n",
      "18 4\n",
      "101000011110000011\n",
      "3 2\n",
      "000\n",
      "8 4\n",
      "00100000\n",
      "5 3\n",
      "00101\n",
      "12 2\n",
      "111010000101\n",
      "14 3\n",
      "11011010010001\n",
      "10 4\n",
      "0000001100\n",
      "13 4\n",
      "1011000101101\n",
      "15 3\n",
      "111111100000001\n",
      "4 1\n",
      "1011\n",
      "10 2\n",
      "1100110111\n",
      "14 1\n",
      "00011011110011\n",
      "9 3\n",
      "110100001\n",
      "19 3\n",
      "0111110100011111001\n",
      "17 3\n",
      "00011000001110110\n",
      "4 2\n",
      "0001\n",
      "13 3\n",
      "0101000110000\n",
      "15 1\n",
      "100110000000001\n",
      "7 3\n",
      "0000010\n",
      "10 4\n",
      "1111000000\n",
      "11 4\n",
      "00100000111\n",
      "14 2\n",
      "00100111001011\n",
      "14 4\n",
      "00001000010000\n",
      "2 4\n",
      "11\n",
      "14 3\n",
      "01100100111111\n",
      "7 1\n",
      "0100011\n",
      "6 2\n",
      "001001\n",
      "5 3\n",
      "10011\n",
      "10 1\n",
      "1000001011\n",
      "6 2\n",
      "010101\n",
      "12 1\n",
      "110101101110\n",
      "3 4\n",
      "010\n",
      "14 3\n",
      "01101110001111\n",
      "6 2\n",
      "000011\n",
      "16 4\n",
      "1110000001000101\n",
      "8 3\n",
      "00000100\n",
      "17 4\n",
      "11100001111011010\n",
      "10 1\n",
      "1111011111\n",
      "5 4\n",
      "10000\n",
      "7 4\n",
      "1000010\n",
      "17 3\n",
      "11100010011101101\n",
      "16 4\n",
      "0001000011001101\n",
      "16 3\n",
      "1010000010010111\n",
      "3 3\n",
      "010\n",
      "17 4\n",
      "10101111001110111\n",
      "7 3\n",
      "1010001\n",
      "20 4\n",
      "01000100101000000101\n",
      "8 4\n",
      "01001011\n",
      "20 4\n",
      "01010101101000111011\n",
      "16 4\n",
      "0010111010010001\n",
      "19 4\n",
      "1011110101011000101\n",
      "13 1\n",
      "0010011000101\n",
      "6 3\n",
      "100101\n",
      "4 1\n",
      "1000\n",
      "3 4\n",
      "011\n",
      "14 3\n",
      "00011110001100\n",
      "7 1\n",
      "1101011\n",
      "20 1\n",
      "00010001100001110001\n",
      "20 3\n",
      "01110000101111000000\n",
      "19 1\n",
      "0110100011001010001\n",
      "17 2\n",
      "01101001110011001\n",
      "11 1\n",
      "11101011101\n",
      "15 1\n",
      "000111011011101\n",
      "2 2\n",
      "00\n",
      "17 4\n",
      "11111000001001100\n",
      "12 2\n",
      "100010000101\n",
      "6 3\n",
      "011100\n",
      "17 2\n",
      "11100110000110001\n",
      "14 4\n",
      "10001000011100\n",
      "8 3\n",
      "00000100\n",
      "19 4\n",
      "1100100000001000010\n",
      "4 3\n",
      "0011\n",
      "2 4\n",
      "00\n",
      "10 1\n",
      "0110101101\n",
      "7 2\n",
      "1010110\n",
      "12 1\n",
      "111001111011\n",
      "6 2\n",
      "011101\n",
      "9 4\n",
      "011101011\n",
      "5 1\n",
      "00000\n",
      "18 3\n",
      "101110001011110111\n",
      "17 4\n",
      "00111010110100010\n",
      "9 3\n",
      "001000010\n",
      "8 3\n",
      "11100011\n",
      "6 3\n",
      "010110\n",
      "8 1\n",
      "11010101\n",
      "6 3\n",
      "001001\n",
      "5 2\n",
      "10110\n",
      "6 3\n",
      "110001\n",
      "2 1\n",
      "01\n",
      "13 4\n",
      "0011100100011\n",
      "7 2\n",
      "1001101\n",
      "8 2\n",
      "11001101\n",
      "5 4\n",
      "01111\n",
      "12 1\n",
      "111100001001\n",
      "11 4\n",
      "10011010111\n",
      "3 3\n",
      "010\n",
      "16 3\n",
      "0100010111011101\n",
      "17 4\n",
      "11100001000101110\n",
      "17 2\n",
      "10110111001111010\n",
      "8 1\n",
      "01101000\n",
      "13 1\n",
      "0010000010001\n",
      "9 1\n",
      "011010000\n",
      "15 3\n",
      "010111000001010\n",
      "19 3\n",
      "1100001110011111011\n",
      "11 4\n",
      "00100000010\n",
      "13 1\n",
      "0111111000101\n",
      "11 2\n",
      "00011100101\n",
      "13 4\n",
      "0001101101011\n",
      "15 1\n",
      "111000101000000\n",
      "20 2\n",
      "10001111111111101011\n",
      "4 4\n",
      "0100\n",
      "15 4\n",
      "001001001000011\n",
      "17 1\n",
      "11101010100111010\n",
      "16 2\n",
      "1110000110100010\n",
      "4 2\n",
      "1101\n",
      "11 2\n",
      "00011010101\n",
      "14 3\n",
      "10001010110110\n",
      "13 3\n",
      "1101100101001\n",
      "19 3\n",
      "1100100111101110001\n",
      "11 4\n",
      "11000000011\n",
      "2 1\n",
      "00\n",
      "19 3\n",
      "0101011110111101101\n",
      "18 3\n",
      "011010110011100010\n",
      "13 1\n",
      "0100111101001\n",
      "20 4\n",
      "11010011010110100101\n",
      "4 4\n",
      "1100\n",
      "19 1\n",
      "1000011011110111000\n",
      "2 4\n",
      "00\n",
      "14 2\n",
      "10000111010001\n",
      "8 4\n",
      "01011010\n",
      "17 4\n",
      "10111101001001011\n",
      "3 4\n",
      "011\n",
      "2 1\n",
      "10\n",
      "5 4\n",
      "10111\n",
      "3 3\n",
      "100\n",
      "14 4\n",
      "00011101011011\n",
      "18 3\n",
      "111110011111101101\n",
      "11 3\n",
      "01010101110\n",
      "19 3\n",
      "1110101100110010001\n",
      "6 3\n",
      "101010\n",
      "18 2\n",
      "000000100001100001\n",
      "19 3\n",
      "1001000101101001011\n",
      "3 2\n",
      "000\n",
      "10 1\n",
      "1101011110\n",
      "16 1\n",
      "1100011001011101\n",
      "8 4\n",
      "10101011\n",
      "15 4\n",
      "100011001011001\n",
      "12 2\n",
      "000111111000\n",
      "8 2\n",
      "10101001\n",
      "11 2\n",
      "01110010010\n",
      "11 4\n",
      "01111010010\n",
      "2 3\n",
      "10\n",
      "10 2\n",
      "0111011001\n",
      "2 1\n",
      "01\n",
      "13 3\n",
      "1000000011000\n",
      "9 1\n",
      "101101101\n",
      "12 3\n",
      "110011101000\n",
      "16 3\n",
      "0001110100100001\n",
      "19 2\n",
      "1101111111111000001\n",
      "10 2\n",
      "0101000001\n",
      "11 4\n",
      "11001001100\n",
      "5 1\n",
      "01000\n",
      "14 3\n",
      "00100100101011\n",
      "9 3\n",
      "000000010\n",
      "18 4\n",
      "010110001110000111\n",
      "2 3\n",
      "10\n",
      "13 2\n",
      "1010010101110\n",
      "11 3\n",
      "11011010010\n",
      "4 3\n",
      "0111\n",
      "3 4\n",
      "101\n",
      "19 1\n",
      "0110110110011111101\n",
      "8 3\n",
      "00010110\n",
      "6 3\n",
      "011010\n",
      "6 3\n",
      "100000\n",
      "16 3\n",
      "1001010000100001\n",
      "10 1\n",
      "0101000001\n",
      "2 3\n",
      "11\n",
      "8 3\n",
      "01010101\n",
      "13 3\n",
      "1111101011010\n",
      "8 3\n",
      "11011001\n",
      "14 4\n",
      "01000110011010\n",
      "16 1\n",
      "0101110001111110\n",
      "20 3\n",
      "01010000101010011100\n",
      "14 3\n",
      "00000000111011\n",
      "11 2\n",
      "10001011000\n",
      "11 3\n",
      "11010100111\n",
      "17 2\n",
      "11111000111000101\n",
      "20 1\n",
      "10101110010001110110\n",
      "6 2\n",
      "011101\n",
      "16 2\n",
      "1111101000101001\n",
      "3 4\n",
      "100\n",
      "3 2\n",
      "110\n",
      "6 4\n",
      "010001\n",
      "3 2\n",
      "001\n",
      "8 2\n",
      "00010101\n",
      "8 3\n",
      "00110111\n",
      "14 3\n",
      "11111000010001\n",
      "3 4\n",
      "110\n",
      "11 3\n",
      "11100111111\n",
      "15 1\n",
      "010111001010111\n",
      "11 1\n",
      "01111101100\n",
      "12 1\n",
      "011111100011\n",
      "17 2\n",
      "00111111000010000\n",
      "4 1\n",
      "1011\n",
      "16 1\n",
      "1101001011101000\n",
      "7 4\n",
      "1101000\n",
      "20 1\n",
      "00101001100110000100\n",
      "19 3\n",
      "0010001000110010010\n",
      "6 4\n",
      "000101\n",
      "3 4\n",
      "100\n",
      "13 3\n",
      "0100100101000\n",
      "20 2\n",
      "10101010010000000010\n",
      "14 1\n",
      "10111011001101\n",
      "9 1\n",
      "011100111\n",
      "5 4\n",
      "00001\n",
      "6 4\n",
      "011000\n",
      "14 2\n",
      "11000111111110\n",
      "4 4\n",
      "1010\n",
      "17 2\n",
      "01011010010001101\n",
      "12 3\n",
      "010111111001\n",
      "3 1\n",
      "010\n",
      "14 3\n",
      "11111001000111\n",
      "6 1\n",
      "101110\n",
      "17 2\n",
      "10000101001011010\n",
      "17 1\n",
      "01110011011100000\n",
      "10 4\n",
      "0010010111\n",
      "9 3\n",
      "000111011\n",
      "9 3\n",
      "001001100\n",
      "17 1\n",
      "10001110100000000\n",
      "11 3\n",
      "11010100110\n",
      "12 1\n",
      "101100010001\n",
      "5 3\n",
      "11001\n",
      "20 4\n",
      "10010010101011011001\n",
      "17 1\n",
      "11000001111010010\n",
      "7 4\n",
      "0011011\n",
      "12 4\n",
      "111000100000\n",
      "11 4\n",
      "10100011010\n",
      "15 2\n",
      "110101011100000\n",
      "12 3\n",
      "100100100111\n",
      "8 1\n",
      "00101000\n",
      "7 3\n",
      "0110011\n",
      "14 4\n",
      "10000111010110\n",
      "6 4\n",
      "101110\n",
      "7 2\n",
      "0110000\n",
      "17 1\n",
      "11010010000011110\n",
      "17 4\n",
      "11011111100111101\n",
      "14 2\n",
      "10100100110111\n",
      "19 3\n",
      "0000110001101111000\n",
      "8 1\n",
      "01000011\n",
      "4 3\n",
      "0101\n",
      "16 4\n",
      "1000101011110001\n",
      "20 1\n",
      "00000010001111000000\n",
      "20 2\n",
      "00100001001000010100\n",
      "3 1\n",
      "110\n",
      "9 4\n",
      "001110100\n",
      "20 4\n",
      "01111101101100101111\n",
      "11 4\n",
      "01001111000\n",
      "7 3\n",
      "1111110\n",
      "13 3\n",
      "1101111011000\n",
      "5 1\n",
      "01010\n",
      "9 1\n",
      "111011010\n",
      "7 4\n",
      "0101100\n",
      "16 4\n",
      "0100100011111001\n",
      "2 4\n",
      "10\n",
      "9 3\n",
      "001110001\n",
      "9 4\n",
      "010111111\n",
      "17 3\n",
      "00010010011100010\n",
      "9 2\n",
      "111110011\n",
      "9 1\n",
      "010001010\n",
      "9 1\n",
      "111000010\n",
      "5 3\n",
      "11000\n",
      "20 3\n",
      "11010000111110101010\n",
      "11 3\n",
      "01100011111\n",
      "9 3\n",
      "010101000\n",
      "6 2\n",
      "001101\n",
      "4 2\n",
      "0101\n",
      "10 3\n",
      "0000011001\n",
      "2 1\n",
      "00\n",
      "9 1\n",
      "001100011\n",
      "14 2\n",
      "00000000101010\n",
      "13 2\n",
      "0001110110011\n",
      "9 4\n",
      "010000010\n",
      "3 2\n",
      "011\n",
      "3 3\n",
      "111\n",
      "14 4\n",
      "11110101110000\n",
      "6 3\n",
      "110110\n",
      "8 2\n",
      "10110010\n",
      "14 3\n",
      "01010101001010\n",
      "20 2\n",
      "11011101011101010001\n",
      "14 2\n",
      "01100110111111\n",
      "14 4\n",
      "00110001011110\n",
      "5 3\n",
      "01011\n",
      "10 4\n",
      "1011010101\n",
      "9 1\n",
      "001100111\n",
      "3 2\n",
      "001\n",
      "20 2\n",
      "11011001010111011110\n",
      "17 2\n",
      "11100100101010000\n",
      "9 3\n",
      "011101010\n",
      "18 4\n",
      "010111101101111011\n",
      "2 1\n",
      "01\n",
      "15 1\n",
      "000010010111010\n",
      "14 4\n",
      "10111000010001\n",
      "16 4\n",
      "1110000011001011\n",
      "16 1\n",
      "0100100101000010\n",
      "8 1\n",
      "10011001\n",
      "19 4\n",
      "1110100100100101110\n",
      "11 4\n",
      "10000111101\n",
      "7 2\n",
      "1010111\n",
      "15 1\n",
      "111111011100001\n",
      "14 2\n",
      "01100101000100\n",
      "12 3\n",
      "111110000110\n",
      "8 1\n",
      "00001011\n",
      "18 2\n",
      "110000011001011001\n",
      "13 3\n",
      "1100010011111\n",
      "14 1\n",
      "00011000110110\n",
      "8 2\n",
      "01010011\n",
      "15 3\n",
      "100110111100001\n",
      "8 1\n",
      "11110001\n",
      "18 2\n",
      "110011110001010001\n",
      "16 3\n",
      "0011010111111111\n",
      "12 3\n",
      "010001110001\n",
      "14 2\n",
      "10000100101010\n",
      "2 4\n",
      "00\n",
      "20 1\n",
      "11000111010101111010\n",
      "14 3\n",
      "00110100110110\n",
      "9 3\n",
      "011011100\n",
      "14 4\n",
      "11011000011111\n",
      "12 4\n",
      "110010001010\n",
      "10 2\n",
      "1001100011\n",
      "4 2\n",
      "1010\n",
      "18 4\n",
      "111101000000000101\n",
      "2 3\n",
      "01\n",
      "16 3\n",
      "0011100111110100\n",
      "12 4\n",
      "111111111001\n",
      "13 4\n",
      "1011110110000\n",
      "6 2\n",
      "111010\n",
      "19 3\n",
      "0010011100011001110\n",
      "4 1\n",
      "1100\n",
      "9 1\n",
      "011100010\n",
      "13 3\n",
      "0111001110011\n",
      "2 1\n",
      "00\n",
      "9 3\n",
      "100100000\n",
      "16 2\n",
      "1111111010000100\n",
      "14 1\n",
      "10101011101110\n",
      "7 2\n",
      "0010101\n",
      "17 4\n",
      "11011010000000001\n",
      "8 3\n",
      "01110101\n",
      "9 3\n",
      "010110010\n",
      "18 1\n",
      "000000011001101100\n",
      "19 1\n",
      "0011001111110010000\n",
      "11 3\n",
      "00000101110\n",
      "6 1\n",
      "111010\n",
      "17 2\n",
      "00011100000100010\n",
      "10 2\n",
      "0000110001\n",
      "5 1\n",
      "10100\n",
      "4 1\n",
      "0010\n",
      "18 2\n",
      "011100000010001110\n",
      "15 2\n",
      "101101100101110\n",
      "9 3\n",
      "000100110\n",
      "14 4\n",
      "01101000101101\n",
      "15 2\n",
      "111001101110000\n",
      "4 2\n",
      "0010\n",
      "19 4\n",
      "0010001101110111100\n",
      "19 3\n",
      "1111110011001010010\n",
      "16 4\n",
      "0010001010010010\n",
      "11 1\n",
      "00000001111\n",
      "11 4\n",
      "01001011001\n",
      "13 3\n",
      "0010100000100\n",
      "13 3\n",
      "1100001101100\n",
      "11 4\n",
      "11000100111\n",
      "18 1\n",
      "001001001000000011\n",
      "4 2\n",
      "0000\n",
      "4 1\n",
      "0101\n",
      "8 4\n",
      "00101011\n",
      "6 1\n",
      "111111\n",
      "4 2\n",
      "0111\n",
      "3 2\n",
      "011\n",
      "6 4\n",
      "011111\n",
      "12 4\n",
      "010011011101\n",
      "11 1\n",
      "00111010011\n",
      "2 2\n",
      "01\n",
      "4 3\n",
      "0010\n",
      "8 1\n",
      "00100110\n",
      "19 4\n",
      "0110000101101111010\n",
      "19 2\n",
      "1010000101001001101\n",
      "7 3\n",
      "0011001\n",
      "4 4\n",
      "1010\n",
      "12 2\n",
      "110111001011\n",
      "6 4\n",
      "111000\n",
      "19 3\n",
      "1000011110101100011\n",
      "9 2\n",
      "110010010\n",
      "9 2\n",
      "101000111\n",
      "11 4\n",
      "00000111010\n",
      "8 4\n",
      "01100001\n",
      "10 4\n",
      "0101111110\n",
      "5 2\n",
      "11110\n",
      "6 3\n",
      "100101\n",
      "12 4\n",
      "011011011011\n",
      "12 3\n",
      "100011100000\n",
      "14 2\n",
      "11011000100000\n",
      "9 1\n",
      "011000110\n",
      "19 2\n",
      "1000011010110110001\n",
      "12 1\n",
      "111010111001\n",
      "14 2\n",
      "00110000100111\n",
      "16 4\n",
      "0101111100101101\n",
      "18 1\n",
      "111100101001110001\n",
      "18 2\n",
      "001000110111111011\n",
      "20 3\n",
      "11110101011000011010\n",
      "17 1\n",
      "01010010001111000\n",
      "3 4\n",
      "000\n",
      "4 1\n",
      "0101\n",
      "6 1\n",
      "111011\n",
      "5 3\n",
      "01101\n",
      "19 3\n",
      "0001111101111100110\n",
      "14 4\n",
      "01011101010000\n",
      "15 3\n",
      "111000011010011\n",
      "12 3\n",
      "001101010100\n",
      "14 3\n",
      "00110011011100\n",
      "15 4\n",
      "010111100011000\n",
      "14 1\n",
      "11000110010001\n",
      "20 3\n",
      "00101000011000000001\n",
      "16 1\n",
      "1011101101110100\n",
      "16 1\n",
      "0110011101100110\n",
      "17 1\n",
      "01010010010011000\n",
      "13 1\n",
      "0000111010010\n",
      "17 4\n",
      "00011110111101101\n",
      "2 4\n",
      "00\n",
      "9 4\n",
      "111110001\n",
      "6 1\n",
      "000110\n",
      "5 4\n",
      "11101\n",
      "16 1\n",
      "1000110101001000\n",
      "19 4\n",
      "0100110100110101010\n",
      "6 4\n",
      "010000\n",
      "6 1\n",
      "100011\n",
      "20 4\n",
      "00110001010110001111\n",
      "20 1\n",
      "10001001101000100000\n",
      "12 1\n",
      "001010111011\n",
      "5 1\n",
      "11111\n",
      "15 2\n",
      "011000100110110\n",
      "6 2\n",
      "010001\n",
      "4 4\n",
      "1101\n",
      "19 1\n",
      "1101001100110100001\n",
      "13 1\n",
      "0000100110000\n",
      "11 1\n",
      "10111100100\n",
      "4 2\n",
      "0101\n",
      "16 2\n",
      "0100100001110100\n",
      "6 2\n",
      "010111\n",
      "19 1\n",
      "1011010110101000100\n",
      "17 3\n",
      "00001000101000010\n",
      "11 3\n",
      "11010001010\n",
      "10 1\n",
      "0011101011\n",
      "13 3\n",
      "0011101001110\n",
      "10 3\n",
      "0001110110\n",
      "4 4\n",
      "0010\n",
      "11 1\n",
      "11011110001\n",
      "11 4\n",
      "10011100101\n",
      "8 1\n",
      "00010100\n",
      "13 4\n",
      "1001100110011\n",
      "14 2\n",
      "11010010100001\n",
      "20 2\n",
      "11000010101000000111\n",
      "20 4\n",
      "00010100110001010100\n",
      "20 2\n",
      "11100001110001000101\n",
      "3 2\n",
      "001\n",
      "13 1\n",
      "0011111101101\n",
      "18 3\n",
      "010000100110111101\n",
      "15 1\n",
      "110111101010011\n",
      "9 2\n",
      "011010001\n",
      "9 2\n",
      "000100000\n",
      "17 4\n",
      "10011101111101100\n",
      "18 2\n",
      "100101110000000001\n",
      "11 2\n",
      "01011000001\n",
      "2 4\n",
      "11\n",
      "5 1\n",
      "00001\n",
      "2 1\n",
      "10\n",
      "6 2\n",
      "101000\n",
      "7 1\n",
      "0101110\n",
      "6 1\n",
      "110011\n",
      "11 1\n",
      "11100011001\n",
      "17 3\n",
      "01010000100101110\n",
      "14 3\n",
      "00011001111100\n",
      "12 2\n",
      "111001000001\n",
      "4 2\n",
      "0100\n",
      "7 3\n",
      "0001011\n",
      "11 1\n",
      "11000101100\n",
      "10 4\n",
      "1011110001\n",
      "18 4\n",
      "001001010111100110\n",
      "18 4\n",
      "111011110110011011\n",
      "13 3\n",
      "1100110010001\n",
      "16 4\n",
      "0010000011101001\n",
      "5 4\n",
      "01111\n",
      "16 4\n",
      "1101101101000100\n",
      "5 1\n",
      "11000\n",
      "18 2\n",
      "010101000100110111\n",
      "12 1\n",
      "110111010010\n",
      "10 2\n",
      "0100110001\n",
      "3 1\n",
      "101\n",
      "5 4\n",
      "10010\n",
      "7 4\n",
      "0000111\n",
      "17 1\n",
      "00001110010011110\n",
      "19 4\n",
      "0101000001001100011\n",
      "3 4\n",
      "100\n",
      "15 1\n",
      "101010011110000\n",
      "18 1\n",
      "000111001110000001\n",
      "2 3\n",
      "11\n",
      "4 2\n",
      "0101\n",
      "12 1\n",
      "101011111110\n",
      "14 3\n",
      "01110101101100\n",
      "9 4\n",
      "011010000\n",
      "20 1\n",
      "11111111111101000110\n",
      "4 4\n",
      "1001\n",
      "2 3\n",
      "10\n",
      "2 4\n",
      "00\n",
      "17 4\n",
      "11001110001011100\n",
      "12 2\n",
      "100110110010\n",
      "8 4\n",
      "11101000\n",
      "20 3\n",
      "01110110010110001110\n",
      "11 1\n",
      "01101001000\n",
      "6 3\n",
      "110011\n",
      "6 2\n",
      "111110\n",
      "19 2\n",
      "1100001011011011111\n",
      "6 4\n",
      "001000\n",
      "14 1\n",
      "11010011011110\n",
      "16 1\n",
      "0110101111011101\n",
      "13 4\n",
      "1100000001011\n",
      "9 2\n",
      "100101111\n",
      "19 2\n",
      "1111011100111011001\n",
      "4 1\n",
      "0011\n",
      "9 2\n",
      "000111100\n",
      "16 3\n",
      "0111100111011111\n",
      "2 4\n",
      "11\n",
      "18 3\n",
      "011111111011001101\n",
      "17 3\n",
      "00101111110111011\n",
      "5 1\n",
      "10101\n",
      "5 1\n",
      "01010\n",
      "8 2\n",
      "11100001\n",
      "17 3\n",
      "10101001101001010\n",
      "16 2\n",
      "1110010100000011\n",
      "16 2\n",
      "0101011100111100\n",
      "18 1\n",
      "111010111001110110\n",
      "19 3\n",
      "1111000100001010110\n",
      "14 2\n",
      "10100111010100\n",
      "3 3\n",
      "000\n",
      "3 1\n",
      "001\n",
      "15 1\n",
      "100010011101100\n",
      "7 2\n",
      "1111001\n",
      "5 4\n",
      "10110\n",
      "4 1\n",
      "1100\n",
      "3 4\n",
      "000\n",
      "4 4\n",
      "0010\n",
      "20 2\n",
      "10100011111011000101\n",
      "12 4\n",
      "101000101101\n",
      "5 1\n",
      "11110\n",
      "14 1\n",
      "11110000001111\n",
      "10 1\n",
      "1001000101\n",
      "19 3\n",
      "1011000101101010001\n",
      "17 4\n",
      "01010101001000111\n",
      "2 2\n",
      "10\n",
      "6 1\n",
      "100001\n",
      "11 4\n",
      "11001110110\n",
      "18 4\n",
      "111000101101000111\n",
      "10 4\n",
      "1010000101\n",
      "10 4\n",
      "0011000110\n",
      "15 3\n",
      "001011110111010\n",
      "17 2\n",
      "01111000001000100\n",
      "15 4\n",
      "001100100010011\n",
      "9 4\n",
      "110001000\n",
      "2 1\n",
      "00\n",
      "17 2\n",
      "00111101000100000\n",
      "6 3\n",
      "000111\n",
      "20 1\n",
      "00100010111111000100\n",
      "14 1\n",
      "00011111010111\n",
      "18 4\n",
      "111100111011011111\n",
      "5 3\n",
      "00111\n",
      "4 3\n",
      "1111\n",
      "4 3\n",
      "0010\n",
      "18 4\n",
      "011111110101011100\n",
      "18 2\n",
      "010111000011000110\n",
      "15 2\n",
      "000000010001100\n",
      "13 4\n",
      "0011100001111\n",
      "3 2\n",
      "000\n",
      "7 2\n",
      "1100111\n",
      "4 2\n",
      "0000\n",
      "2 1\n",
      "11\n",
      "8 4\n",
      "01011011\n",
      "13 3\n",
      "1010011011100\n",
      "17 1\n",
      "11111100010111111\n",
      "6 2\n",
      "101001\n",
      "13 1\n",
      "0001111110100\n",
      "14 1\n",
      "11010101100100\n",
      "7 2\n",
      "0101101\n",
      "6 4\n",
      "001111\n",
      "7 1\n",
      "0100111\n",
      "17 4\n",
      "10110010110010100\n",
      "14 3\n",
      "11101111111010\n",
      "8 4\n",
      "10001100\n",
      "6 1\n",
      "100111\n",
      "12 3\n",
      "100110001010\n",
      "14 2\n",
      "11011000101010\n",
      "16 4\n",
      "0001101111111100\n",
      "12 4\n",
      "111110100101\n",
      "6 1\n",
      "011101\n",
      "13 2\n",
      "0011000010111\n",
      "11 2\n",
      "10111011110\n",
      "8 1\n",
      "11011000\n",
      "15 4\n",
      "000101000101100\n",
      "9 3\n",
      "001010000\n",
      "20 1\n",
      "10101101000101110101\n",
      "14 4\n",
      "10111010001110\n",
      "12 3\n",
      "010111111001\n",
      "20 1\n",
      "11110001000000010010\n",
      "13 1\n",
      "0101110010001\n",
      "6 1\n",
      "001101\n",
      "13 3\n",
      "0101010010111\n",
      "10 4\n",
      "0100111011\n",
      "15 4\n",
      "111001101010000\n",
      "18 3\n",
      "100111101101100010\n",
      "12 3\n",
      "111011000001\n",
      "4 3\n",
      "1100\n",
      "5 1\n",
      "10001\n",
      "16 2\n",
      "1010101010101110\n",
      "17 4\n",
      "00011101000110100\n",
      "2 4\n",
      "10\n",
      "16 2\n",
      "0110111001101100\n",
      "8 4\n",
      "11111101\n",
      "11 4\n",
      "10100111010\n",
      "5 3\n",
      "01111\n",
      "9 2\n",
      "100000101\n",
      "20 1\n",
      "11111001011100011110\n",
      "7 4\n",
      "1010010\n",
      "14 3\n",
      "01111100001010\n",
      "9 1\n",
      "010110001\n",
      "20 2\n",
      "01111111101001000111\n",
      "6 3\n",
      "001101\n",
      "6 2\n",
      "110111\n",
      "13 2\n",
      "0011010010001\n",
      "5 2\n",
      "11001\n",
      "17 3\n",
      "11010000110011001\n",
      "13 2\n",
      "0010010010000\n",
      "15 3\n",
      "101110111101100\n",
      "2 4\n",
      "01\n",
      "14 4\n",
      "10101001111100\n",
      "17 2\n",
      "01111110100000010\n",
      "15 1\n",
      "110010111001101\n",
      "15 2\n",
      "111011101000010\n",
      "18 2\n",
      "100000100010011111\n",
      "11 2\n",
      "00010100010\n",
      "12 1\n",
      "001100101101\n",
      "6 2\n",
      "000001\n",
      "19 2\n",
      "1100010010110100110\n",
      "12 2\n",
      "000101001010\n",
      "6 2\n",
      "110110\n",
      "9 3\n",
      "111010111\n",
      "13 3\n",
      "1100100100111\n",
      "11 2\n",
      "01100010111\n",
      "17 4\n",
      "10010101011000000\n",
      "6 3\n",
      "010010\n",
      "18 4\n",
      "011010000010101110\n",
      "11 1\n",
      "11000011110\n",
      "18 4\n",
      "010000001101000100\n",
      "7 3\n",
      "1110000\n",
      "16 4\n",
      "0001011111001011\n",
      "10 2\n",
      "0101001001\n",
      "12 3\n",
      "011100000010\n",
      "20 1\n",
      "01100111111110101110\n",
      "12 2\n",
      "110011101000\n",
      "14 1\n",
      "00111100111101\n",
      "14 1\n",
      "01001001110000\n",
      "19 1\n",
      "1111010100111110000\n",
      "7 3\n",
      "1010000\n",
      "17 1\n",
      "00101100010010010\n",
      "14 1\n",
      "01111011000000\n",
      "15 4\n",
      "100000101100001\n",
      "19 3\n",
      "0111101000111100000\n",
      "13 2\n",
      "1100100000000\n",
      "6 2\n",
      "011101\n",
      "13 4\n",
      "0100111100000\n",
      "2 2\n",
      "10\n",
      "11 2\n",
      "00010100010\n",
      "5 3\n",
      "11111\n",
      "8 2\n",
      "00001010\n",
      "17 4\n",
      "11010110011100111\n",
      "20 1\n",
      "10110110100110110010\n",
      "19 1\n",
      "0111101010001010111\n",
      "18 1\n",
      "111101000011111101\n",
      "6 3\n",
      "100011\n",
      "11 4\n",
      "10100010010\n",
      "4 4\n",
      "0000\n",
      "3 1\n",
      "001\n",
      "20 1\n",
      "11101010001010001001\n",
      "9 3\n",
      "111110000\n",
      "20 4\n",
      "11010111010000101111\n",
      "18 4\n",
      "010111001000101110\n",
      "7 2\n",
      "1111100\n",
      "2 3\n",
      "01\n",
      "19 1\n",
      "1001000010000010111\n",
      "4 2\n",
      "0111\n",
      "7 4\n",
      "0110000\n",
      "6 4\n",
      "110000\n",
      "3 1\n",
      "100\n",
      "10 2\n",
      "0100111111\n",
      "15 1\n",
      "010111000001001\n",
      "3 2\n",
      "001\n",
      "5 2\n",
      "10001\n",
      "4 4\n",
      "1111\n",
      "5 4\n",
      "10100\n",
      "13 2\n",
      "0001101101010\n",
      "16 2\n",
      "1100001111110001\n",
      "5 2\n",
      "10111\n",
      "12 3\n",
      "111111100001\n",
      "11 2\n",
      "11111011000\n",
      "10 1\n",
      "1000000010\n",
      "5 1\n",
      "10011\n",
      "7 2\n",
      "1111100\n",
      "15 1\n",
      "000101000111111\n",
      "19 4\n",
      "0101010111101100000\n",
      "4 3\n",
      "0001\n",
      "9 1\n",
      "101000001\n",
      "6 1\n",
      "101110\n",
      "5 1\n",
      "01110\n",
      "8 1\n",
      "00011011\n",
      "17 4\n",
      "01101010001101010\n",
      "8 4\n",
      "00010011\n",
      "18 2\n",
      "001010100100111011\n",
      "8 2\n",
      "01100100\n",
      "12 1\n",
      "000010110101\n",
      "11 4\n",
      "11000100100\n",
      "12 2\n",
      "011011011010\n",
      "7 1\n",
      "1010010\n",
      "6 3\n",
      "010001\n",
      "4 2\n",
      "1000\n",
      "8 4\n",
      "01110001\n",
      "3 1\n",
      "011\n",
      "19 2\n",
      "0100011111001111100\n",
      "4 4\n",
      "1110\n",
      "12 2\n",
      "110011101110\n",
      "20 3\n",
      "10110100000011100010\n",
      "5 4\n",
      "11111\n",
      "11 1\n",
      "11101100110\n",
      "19 1\n",
      "0001111000101100111\n",
      "20 1\n",
      "10101000111001001101\n",
      "14 3\n",
      "10011101110101\n",
      "5 3\n",
      "10100\n",
      "14 1\n",
      "00101001100010\n",
      "15 3\n",
      "000011011111001\n",
      "18 1\n",
      "001110110011111111\n",
      "14 1\n",
      "01101101101110\n",
      "15 1\n",
      "101000000000011\n",
      "14 2\n",
      "01111011100101\n",
      "5 2\n",
      "00010\n",
      "15 4\n",
      "011010000011011\n",
      "17 1\n",
      "10011101001000001\n",
      "9 4\n",
      "001100011\n",
      "11 3\n",
      "11011111011\n",
      "6 1\n",
      "001000\n",
      "7 4\n",
      "1101110\n",
      "9 2\n",
      "000000101\n",
      "7 2\n",
      "1011110\n",
      "20 1\n",
      "10110101101101010010\n",
      "7 1\n",
      "1101110\n",
      "6 3\n",
      "000001\n",
      "7 3\n",
      "0111101\n",
      "17 1\n",
      "10010110010000100\n",
      "4 2\n",
      "0100\n",
      "2 4\n",
      "01\n",
      "4 2\n",
      "1111\n",
      "20 1\n",
      "00001000001000011100\n",
      "20 4\n",
      "11000001000110011010\n",
      "5 3\n",
      "10010\n",
      "6 1\n",
      "010110\n",
      "2 2\n",
      "11\n",
      "2 2\n",
      "01\n",
      "19 3\n",
      "1100000111001011110\n",
      "19 1\n",
      "0111110111011110001\n",
      "2 1\n",
      "10\n",
      "16 3\n",
      "0101101110101100\n",
      "5 4\n",
      "10001\n",
      "20 1\n",
      "11111100010010111111\n",
      "4 4\n",
      "1001\n",
      "7 3\n",
      "1100011\n",
      "10 1\n",
      "0010001111\n",
      "7 4\n",
      "1000100\n",
      "5 2\n",
      "00101\n",
      "5 2\n",
      "10010\n",
      "6 4\n",
      "000010\n",
      "5 2\n",
      "11000\n",
      "3 1\n",
      "011\n",
      "4 4\n",
      "0101\n",
      "14 2\n",
      "00000001101110\n",
      "6 1\n",
      "110111\n",
      "8 4\n",
      "11000100\n",
      "3 1\n",
      "011\n",
      "9 4\n",
      "100001010\n",
      "6 4\n",
      "111111\n",
      "17 2\n",
      "11000000001110011\n",
      "3 3\n",
      "100\n",
      "11 1\n",
      "01000101010\n",
      "9 2\n",
      "111100010\n",
      "11 3\n",
      "11111111000\n",
      "20 1\n",
      "01110010011100101011\n",
      "8 4\n",
      "11000101\n",
      "11 1\n",
      "11000101011\n",
      "12 2\n",
      "110111001111\n",
      "4 2\n",
      "1000\n",
      "13 1\n",
      "0101101011111\n",
      "19 1\n",
      "0111000011011010000\n",
      "14 3\n",
      "11001000110100\n",
      "8 3\n",
      "00110111\n",
      "5 3\n",
      "01000\n",
      "2 1\n",
      "10\n",
      "17 4\n",
      "00001010001111110\n",
      "15 2\n",
      "100101111001101\n",
      "20 2\n",
      "10000111001000011001\n",
      "19 3\n",
      "0110011000101000011\n",
      "18 2\n",
      "011100011101101100\n",
      "16 1\n",
      "1111110011101110\n",
      "16 1\n",
      "0101100011100010\n",
      "10 1\n",
      "0111000011\n",
      "16 1\n",
      "1000000000111100\n",
      "9 1\n",
      "101010101\n",
      "12 3\n",
      "011110011011\n",
      "18 4\n",
      "100100100000110000\n",
      "18 3\n",
      "110110111010110011\n",
      "16 4\n",
      "0110111100010110\n",
      "8 2\n",
      "00000001\n",
      "20 4\n",
      "01001000110000110000\n",
      "4 3\n",
      "0001\n",
      "13 2\n",
      "1110111101100\n",
      "7 4\n",
      "0110110\n",
      "20 2\n",
      "10001111111111111110\n",
      "4 4\n",
      "0100\n",
      "11 2\n",
      "11001100011\n",
      "20 4\n",
      "01111111010001010111\n",
      "5 4\n",
      "10101\n",
      "19 3\n",
      "0010110001001100011\n",
      "18 2\n",
      "110101110011111010\n",
      "15 1\n",
      "100100101110110\n",
      "8 4\n",
      "11011111\n",
      "14 2\n",
      "00000000101110\n",
      "4 2\n",
      "1100\n",
      "5 1\n",
      "00000\n",
      "20 1\n",
      "01111010110111000010\n",
      "4 3\n",
      "0000\n",
      "18 1\n",
      "010100100001001100\n",
      "7 4\n",
      "0000101\n",
      "12 2\n",
      "111101100011\n",
      "14 4\n",
      "10111010001011\n",
      "18 1\n",
      "001011001101111101\n",
      "2 1\n",
      "00\n",
      "16 2\n",
      "1011011100010101\n",
      "16 1\n",
      "1010100001111011\n",
      "16 4\n",
      "1000001100010111\n",
      "2 2\n",
      "00\n",
      "8 2\n",
      "11100000\n",
      "2 3\n",
      "01\n",
      "3 4\n",
      "111\n",
      "16 3\n",
      "1010111001001011\n",
      "16 2\n",
      "1111010011011001\n",
      "19 4\n",
      "1110111011100101001\n",
      "9 2\n",
      "011111010\n",
      "15 3\n",
      "110001010010101\n",
      "3 1\n",
      "110\n",
      "14 1\n",
      "11010011100100\n",
      "12 4\n",
      "110000011100\n",
      "8 4\n",
      "00000010\n",
      "15 2\n",
      "010111000100000\n",
      "11 2\n",
      "10010011011\n",
      "5 1\n",
      "11000\n",
      "10 3\n",
      "1100101101\n",
      "2 2\n",
      "10\n",
      "9 1\n",
      "111011000\n",
      "7 2\n",
      "1000110\n",
      "15 4\n",
      "010001011011001\n",
      "16 1\n",
      "1000001100110001\n",
      "6 3\n",
      "001000\n",
      "13 3\n",
      "1011000001010\n",
      "20 1\n",
      "10111011110111000110\n",
      "13 1\n",
      "1001101001000\n",
      "20 2\n",
      "10100101111001100101\n",
      "16 2\n",
      "1000110100011111\n",
      "3 4\n",
      "110\n",
      "13 2\n",
      "1011111111111\n",
      "15 3\n",
      "000101000101100\n",
      "5 2\n",
      "11000\n",
      "7 3\n",
      "1010010\n",
      "3 1\n",
      "000\n",
      "2 2\n",
      "01\n",
      "14 3\n",
      "10011110000000\n",
      "12 4\n",
      "000011010000\n",
      "12 2\n",
      "010001000011\n",
      "12 4\n",
      "001110100101\n",
      "11 2\n",
      "11111100011\n",
      "7 1\n",
      "0001011\n",
      "13 2\n",
      "1001011011101\n",
      "13 4\n",
      "1010000100010\n",
      "14 2\n",
      "00000000101011\n",
      "11 4\n",
      "10100010110\n",
      "4 3\n",
      "0010\n",
      "11 2\n",
      "01011001011\n",
      "8 1\n",
      "11111111\n",
      "10 3\n",
      "1000110010\n",
      "11 1\n",
      "10100100110\n",
      "7 2\n",
      "1000011\n",
      "2 4\n",
      "00\n",
      "11 2\n",
      "10010011011\n",
      "12 1\n",
      "000001000110\n",
      "20 1\n",
      "01110010010011001010\n",
      "14 3\n",
      "11110111010010\n",
      "2 2\n",
      "01\n",
      "19 1\n",
      "1111011000111010011\n",
      "12 1\n",
      "101101001110\n",
      "5 3\n",
      "10011\n",
      "16 4\n",
      "0010101100011001\n",
      "12 4\n",
      "001011101100\n",
      "13 2\n",
      "0101110011101\n",
      "19 1\n",
      "1100111110100011001\n",
      "11 2\n",
      "11011100111\n",
      "5 4\n",
      "11101\n",
      "3 3\n",
      "110\n",
      "12 2\n",
      "000101111010\n",
      "2 2\n",
      "10\n",
      "3 1\n",
      "110\n",
      "12 2\n",
      "010111010110\n",
      "16 2\n",
      "0101100100111111\n",
      "16 3\n",
      "0101101110111100\n",
      "18 1\n",
      "001010010000000110\n",
      "6 3\n",
      "111101\n",
      "7 4\n",
      "1000011\n",
      "9 4\n",
      "000000001\n",
      "11 2\n",
      "00100001100\n",
      "16 3\n",
      "1101111101001100\n",
      "10 1\n",
      "1100010100\n",
      "4 1\n",
      "0010\n",
      "6 2\n",
      "010111\n",
      "6 3\n",
      "010000\n",
      "16 2\n",
      "1001111100111010\n",
      "11 3\n",
      "00111001111\n",
      "18 4\n",
      "111110110001100101\n",
      "14 3\n",
      "00000100100111\n",
      "20 2\n",
      "01100010011001011000\n",
      "16 1\n",
      "1101101111101100\n",
      "2 2\n",
      "01\n",
      "6 3\n",
      "111010\n",
      "5 3\n",
      "00110\n",
      "10 1\n",
      "0110010010\n",
      "7 3\n",
      "1111000\n",
      "16 2\n",
      "1011110001010100\n",
      "10 3\n",
      "1011011100\n",
      "7 4\n",
      "1010101\n",
      "18 4\n",
      "010100001011101000\n",
      "4 2\n",
      "1000\n",
      "17 1\n",
      "10001000100101010\n",
      "5 4\n",
      "01101\n",
      "3 1\n",
      "000\n",
      "18 1\n",
      "011101011010000110\n",
      "11 3\n",
      "11110110100\n",
      "7 2\n",
      "0111110\n",
      "6 3\n",
      "101111\n",
      "17 1\n",
      "01110001110100011\n",
      "2 1\n",
      "11\n",
      "16 1\n",
      "1011000100000110\n",
      "14 1\n",
      "11001010001110\n",
      "6 2\n",
      "010110\n",
      "12 2\n",
      "111001000010\n",
      "10 1\n",
      "1000101010\n",
      "4 4\n",
      "0011\n",
      "5 2\n",
      "10000\n",
      "12 4\n",
      "110101111011\n",
      "7 4\n",
      "0101000\n",
      "5 1\n",
      "01001\n",
      "4 2\n",
      "0110\n",
      "3 3\n",
      "001\n",
      "4 3\n",
      "1011\n",
      "17 3\n",
      "11101000110101001\n",
      "17 2\n",
      "11000011010011101\n",
      "10 3\n",
      "1101111110\n",
      "11 3\n",
      "10101011100\n",
      "7 4\n",
      "1011001\n",
      "8 2\n",
      "11011011\n",
      "3 3\n",
      "100\n",
      "12 2\n",
      "000000010111\n",
      "19 4\n",
      "0001100110010110101\n",
      "3 4\n",
      "110\n",
      "18 1\n",
      "100100000010110111\n",
      "14 2\n",
      "11100010101100\n",
      "16 4\n",
      "1011101101001111\n",
      "16 2\n",
      "1110111001010101\n",
      "16 3\n",
      "1101111000100101\n",
      "14 3\n",
      "01001011111010\n",
      "18 1\n",
      "001111011011001011\n",
      "10 4\n",
      "0000111101\n",
      "12 3\n",
      "010111011100\n",
      "8 1\n",
      "10000010\n",
      "13 2\n",
      "0001110101001\n",
      "19 2\n",
      "1111000111000101111\n",
      "2 1\n",
      "11\n",
      "7 2\n",
      "1010111\n",
      "19 3\n",
      "1011000010000000100\n",
      "8 4\n",
      "11010011\n",
      "17 1\n",
      "01101110010001001\n",
      "6 2\n",
      "000001\n",
      "9 4\n",
      "000110010\n",
      "12 2\n",
      "100100101011\n",
      "16 4\n",
      "0101100011110010\n",
      "17 2\n",
      "11101100010000111\n",
      "8 1\n",
      "10001010\n",
      "10 4\n",
      "1110010110\n",
      "15 3\n",
      "101111100110001\n",
      "16 3\n",
      "0000010011100011\n",
      "7 2\n",
      "0110001\n",
      "10 4\n",
      "1001101001\n",
      "11 4\n",
      "11000100101\n",
      "5 2\n",
      "00101\n",
      "20 3\n",
      "11110110000000110111\n",
      "16 2\n",
      "1101011001110111\n",
      "2 3\n",
      "11\n",
      "3 3\n",
      "001\n",
      "18 4\n",
      "100010000111101101\n",
      "6 2\n",
      "001111\n",
      "18 1\n",
      "000010111011111110\n",
      "17 4\n",
      "11110001000100001\n",
      "8 2\n",
      "01000100\n",
      "18 4\n",
      "101100000110101001\n",
      "6 1\n",
      "001011\n",
      "17 2\n",
      "00011001010010110\n",
      "18 1\n",
      "101110001011010010\n",
      "18 1\n",
      "011111110100101000\n",
      "8 2\n",
      "01010011\n",
      "17 1\n",
      "01001100100010000\n",
      "13 3\n",
      "0100011011111\n",
      "13 1\n",
      "1001110010010\n",
      "7 2\n",
      "1000111\n",
      "10 3\n",
      "1100110011\n",
      "8 4\n",
      "10010010\n",
      "18 1\n",
      "110000110111110101\n",
      "4 4\n",
      "1011\n",
      "16 2\n",
      "0110111101100101\n",
      "7 4\n",
      "0110110\n",
      "17 4\n",
      "00010000110010101\n",
      "6 3\n",
      "010001\n",
      "3 4\n",
      "100\n",
      "5 2\n",
      "00100\n",
      "20 2\n",
      "11000101110011000000\n",
      "14 1\n",
      "00110011111010\n",
      "2 1\n",
      "00\n",
      "2 2\n",
      "01\n",
      "7 4\n",
      "1101010\n",
      "7 3\n",
      "1010100\n",
      "4 1\n",
      "0111\n",
      "5 2\n",
      "11111\n",
      "4 2\n",
      "1101\n",
      "7 1\n",
      "1010011\n",
      "16 2\n",
      "1110010100011100\n",
      "3 1\n",
      "101\n",
      "8 2\n",
      "11100001\n",
      "13 2\n",
      "1111101011000\n",
      "6 2\n",
      "101101\n",
      "7 3\n",
      "0110001\n",
      "7 3\n",
      "0011100\n",
      "3 4\n",
      "001\n",
      "13 3\n",
      "1110011011101\n",
      "9 1\n",
      "011100110\n",
      "2 1\n",
      "00\n",
      "5 2\n",
      "01101\n",
      "14 3\n",
      "01110100101011\n",
      "20 2\n",
      "00001101011011101011\n",
      "16 2\n",
      "0011100110100000\n",
      "12 1\n",
      "110000101110\n",
      "9 1\n",
      "110101111\n",
      "19 4\n",
      "1101101000110111100\n",
      "6 1\n",
      "110101\n",
      "16 2\n",
      "0011001000100100\n",
      "12 1\n",
      "110111010111\n",
      "5 4\n",
      "00100\n",
      "3 3\n",
      "110\n",
      "13 4\n",
      "0101111000101\n",
      "17 1\n",
      "10011111011110110\n",
      "11 4\n",
      "01101000001\n",
      "7 1\n",
      "1111100\n",
      "12 4\n",
      "111011100000\n",
      "10 1\n",
      "1011001111\n",
      "2 1\n",
      "00\n",
      "14 2\n",
      "10110101110011\n",
      "6 1\n",
      "111110\n",
      "15 1\n",
      "010000000011000\n",
      "12 4\n",
      "111011110111\n",
      "3 3\n",
      "101\n",
      "11 1\n",
      "00000001100\n",
      "16 4\n",
      "1100001110000001\n",
      "3 1\n",
      "011\n",
      "7 1\n",
      "1011001\n",
      "6 4\n",
      "100000\n",
      "12 2\n",
      "000101110110\n",
      "16 2\n",
      "0011011011110101\n",
      "16 3\n",
      "0110101011000110\n",
      "9 2\n",
      "010011101\n",
      "7 3\n",
      "1001001\n",
      "18 2\n",
      "001100000101110010\n",
      "17 2\n",
      "11101011000011101\n",
      "15 2\n",
      "110001010000001\n",
      "10 4\n",
      "0100100101\n",
      "4 1\n",
      "1011\n",
      "12 1\n",
      "001101010110\n",
      "16 3\n",
      "1101110000001100\n",
      "5 2\n",
      "11111\n",
      "8 4\n",
      "01011111\n",
      "6 3\n",
      "101110\n",
      "13 1\n",
      "1111011111110\n",
      "7 4\n",
      "1001110\n",
      "10 4\n",
      "0011111101\n",
      "6 4\n",
      "100010\n",
      "5 2\n",
      "11100\n",
      "12 4\n",
      "110011101110\n",
      "15 1\n",
      "101000110001110\n",
      "3 3\n",
      "110\n",
      "7 2\n",
      "0001011\n",
      "10 2\n",
      "1101111100\n",
      "20 2\n",
      "10110110111001001010\n",
      "9 1\n",
      "100011011\n",
      "15 1\n",
      "011001010001100\n",
      "5 3\n",
      "10101\n",
      "11 3\n",
      "00000111001\n",
      "18 4\n",
      "000000001110100111\n",
      "4 4\n",
      "0101\n",
      "12 3\n",
      "010000110011\n",
      "4 1\n",
      "0011\n",
      "7 3\n",
      "0110100\n",
      "9 1\n",
      "111000010\n",
      "16 1\n",
      "1100011111110011\n",
      "2 2\n",
      "11\n",
      "8 3\n",
      "00100000\n",
      "14 4\n",
      "00011111111001\n",
      "19 3\n",
      "1000100110000111111\n",
      "18 1\n",
      "010110010000100100\n",
      "16 3\n",
      "0010110010101100\n",
      "5 4\n",
      "00100\n",
      "6 3\n",
      "000100\n",
      "16 2\n",
      "1011111100001100\n",
      "17 4\n",
      "11000100111111000\n",
      "4 3\n",
      "1111\n",
      "17 1\n",
      "00011100110110000\n",
      "2 1\n",
      "00\n",
      "17 1\n",
      "10011011011011111\n",
      "10 2\n",
      "0001010100\n",
      "7 4\n",
      "0111101\n",
      "14 1\n",
      "01000100001000\n",
      "5 3\n",
      "01110\n",
      "6 1\n",
      "110010\n",
      "15 1\n",
      "011000111100111\n",
      "2 2\n",
      "11\n",
      "20 4\n",
      "11011110011010011001\n",
      "20 1\n",
      "11010011000101000101\n",
      "8 2\n",
      "10110010\n",
      "17 1\n",
      "00011010110011000\n",
      "17 4\n",
      "00110010101000000\n",
      "12 2\n",
      "101101101010\n",
      "4 4\n",
      "0010\n",
      "18 2\n",
      "100101011001111000\n",
      "14 2\n",
      "00000100110000\n",
      "9 4\n",
      "110000101\n",
      "15 4\n",
      "001011000101010\n",
      "4 4\n",
      "0100\n",
      "15 4\n",
      "001011010000101\n",
      "15 4\n",
      "100101100110101\n",
      "16 1\n",
      "0000101111111001\n",
      "14 4\n",
      "00001111101100\n",
      "7 1\n",
      "0100100\n",
      "2 3\n",
      "10\n",
      "17 3\n",
      "01101111001101011\n",
      "10 1\n",
      "0001111000\n",
      "4 2\n",
      "1000\n",
      "16 2\n",
      "1001100011000110\n",
      "18 2\n",
      "011111111110001011\n",
      "13 3\n",
      "0101101010110\n",
      "9 4\n",
      "011001101\n",
      "10 3\n",
      "1010011110\n",
      "14 2\n",
      "01111110110111\n",
      "2 4\n",
      "10\n",
      "17 3\n",
      "00101101111100010\n",
      "7 2\n",
      "0101000\n",
      "19 2\n",
      "1011010111001011111\n",
      "5 3\n",
      "10001\n",
      "17 3\n",
      "11101000110010101\n",
      "14 3\n",
      "11110110101011\n",
      "13 1\n",
      "0001000111011\n",
      "2 2\n",
      "10\n",
      "12 1\n",
      "101000100101\n",
      "13 4\n",
      "1000101010010\n",
      "20 2\n",
      "00100001000001100101\n",
      "16 3\n",
      "1100101010001000\n",
      "20 4\n",
      "00011011111101000011\n",
      "18 2\n",
      "001111001000110011\n",
      "12 3\n",
      "101111000111\n",
      "12 1\n",
      "110111101100\n",
      "17 4\n",
      "11101101101011101\n",
      "3 3\n",
      "001\n",
      "10 1\n",
      "1010100101\n",
      "8 1\n",
      "01100101\n",
      "7 3\n",
      "1001001\n",
      "4 3\n",
      "1101\n",
      "4 3\n",
      "1010\n",
      "19 2\n",
      "0111110000110011011\n",
      "18 4\n",
      "100011110100011010\n",
      "7 2\n",
      "0101001\n",
      "6 1\n",
      "001111\n",
      "4 4\n",
      "0110\n",
      "6 1\n",
      "111010\n",
      "12 3\n",
      "100011101110\n",
      "20 2\n",
      "11001110111111101001\n",
      "6 2\n",
      "001100\n",
      "2 2\n",
      "00\n",
      "7 3\n",
      "0101100\n",
      "11 2\n",
      "01000111100\n",
      "5 4\n",
      "01001\n",
      "9 2\n",
      "000100011\n",
      "14 2\n",
      "01001010110100\n",
      "3 2\n",
      "101\n",
      "13 2\n",
      "1111110101001\n",
      "5 1\n",
      "10000\n",
      "3 2\n",
      "101\n",
      "4 2\n",
      "1101\n",
      "6 2\n",
      "001110\n",
      "5 2\n",
      "01111\n",
      "10 3\n",
      "0110000110\n",
      "3 4\n",
      "101\n",
      "7 1\n",
      "0101101\n",
      "13 3\n",
      "1100011110010\n",
      "15 3\n",
      "100010110010010\n",
      "7 4\n",
      "1000101\n",
      "4 3\n",
      "1010\n",
      "8 4\n",
      "01101110\n",
      "3 1\n",
      "110\n",
      "7 2\n",
      "1001001\n",
      "19 3\n",
      "0010011110100101100\n",
      "7 2\n",
      "1000101\n",
      "18 4\n",
      "000101100101011100\n",
      "2 2\n",
      "10\n",
      "2 3\n",
      "01\n",
      "20 3\n",
      "01110000101010011110\n",
      "15 1\n",
      "101011011101101\n",
      "11 4\n",
      "00001100110\n",
      "7 4\n",
      "0011001\n",
      "18 1\n",
      "100111101001110111\n",
      "2 1\n",
      "10\n",
      "18 4\n",
      "111110100011100111\n",
      "16 4\n",
      "0010100011011011\n",
      "8 2\n",
      "00100011\n",
      "18 3\n",
      "100111110010110110\n",
      "8 2\n",
      "01011011\n",
      "4 2\n",
      "0100\n",
      "6 4\n",
      "110010\n",
      "6 1\n",
      "001001\n",
      "10 2\n",
      "1101011110\n",
      "8 3\n",
      "00110011\n",
      "5 2\n",
      "00100\n",
      "6 1\n",
      "110001\n",
      "13 2\n",
      "0101010110000\n",
      "5 3\n",
      "00110\n",
      "2 3\n",
      "01\n",
      "18 1\n",
      "011100010111011101\n",
      "8 2\n",
      "01101101\n",
      "19 1\n",
      "0010111011100110001\n",
      "14 4\n",
      "00010010111110\n",
      "7 2\n",
      "0000001\n",
      "12 2\n",
      "110111110110\n",
      "7 3\n",
      "1001011\n",
      "12 2\n",
      "101100011010\n",
      "17 3\n",
      "00010111011001001\n",
      "10 1\n",
      "0110011101\n",
      "18 1\n",
      "010101111100111011\n",
      "4 4\n",
      "1101\n",
      "13 1\n",
      "1011100110000\n",
      "19 2\n",
      "1101101100010011011\n",
      "10 2\n",
      "0110100000\n",
      "14 4\n",
      "10111110110100\n",
      "2 1\n",
      "01\n",
      "8 1\n",
      "10010111\n",
      "5 4\n",
      "10011\n",
      "4 1\n",
      "1101\n",
      "4 4\n",
      "0110\n",
      "19 4\n",
      "0001100110100010011\n",
      "9 4\n",
      "101000000\n",
      "20 2\n",
      "11011111111101001100\n",
      "2 2\n",
      "11\n",
      "6 2\n",
      "000010\n",
      "11 1\n",
      "11011101111\n",
      "15 1\n",
      "001111010010110\n",
      "12 1\n",
      "010110111010\n",
      "19 4\n",
      "0010110111101010011\n",
      "17 3\n",
      "10100101000100100\n",
      "14 1\n",
      "10001100100011\n",
      "6 1\n",
      "100101\n",
      "18 3\n",
      "010010010010110000\n",
      "5 3\n",
      "11101\n",
      "2 1\n",
      "11\n",
      "13 1\n",
      "1101011001101\n",
      "12 3\n",
      "111001011111\n",
      "8 3\n",
      "00000001\n",
      "16 4\n",
      "0001100100011100\n",
      "9 2\n",
      "101101000\n",
      "19 4\n",
      "1001000100101011111\n",
      "15 4\n",
      "101001110111111\n",
      "14 4\n",
      "11101101111000\n",
      "16 2\n",
      "0100011001001111\n",
      "19 4\n",
      "0101011000011000101\n",
      "2 4\n",
      "00\n",
      "13 4\n",
      "0011000111010\n",
      "4 2\n",
      "0100\n",
      "7 1\n",
      "0000011\n",
      "7 1\n",
      "0010000\n",
      "8 4\n",
      "00010010\n",
      "5 2\n",
      "10001\n",
      "4 1\n",
      "1010\n",
      "12 1\n",
      "000010010011\n",
      "15 3\n",
      "011110110111101\n",
      "8 4\n",
      "11101001\n",
      "20 1\n",
      "11101010001110110010\n",
      "19 4\n",
      "1110001000101011101\n",
      "19 2\n",
      "1100001010110000110\n",
      "10 3\n",
      "1001010101\n",
      "8 2\n",
      "11011011\n",
      "19 3\n",
      "0010111001011111000\n",
      "12 3\n",
      "010100101111\n",
      "18 3\n",
      "000000101110010010\n",
      "3 3\n",
      "001\n",
      "3 4\n",
      "010\n",
      "2 2\n",
      "01\n",
      "15 4\n",
      "010010100110111\n",
      "15 2\n",
      "010000011011000\n",
      "15 2\n",
      "011101010111111\n",
      "17 1\n",
      "01110010001101000\n",
      "4 3\n",
      "0100\n",
      "5 4\n",
      "00100\n",
      "10 2\n",
      "1001111000\n",
      "13 1\n",
      "1011010111110\n",
      "14 2\n",
      "00110110000010\n",
      "10 1\n",
      "0010101111\n",
      "6 3\n",
      "110011\n",
      "2 3\n",
      "00\n",
      "16 4\n",
      "1000000010011101\n",
      "4 4\n",
      "0010\n",
      "2 3\n",
      "00\n",
      "16 1\n",
      "1110111000111000\n",
      "9 4\n",
      "100111111\n",
      "9 1\n",
      "110111010\n",
      "2 3\n",
      "00\n",
      "19 3\n",
      "0001110101011000100\n",
      "15 2\n",
      "101000001001001\n",
      "2 3\n",
      "00\n",
      "14 4\n",
      "11000010111000\n",
      "3 2\n",
      "101\n",
      "20 3\n",
      "11101110001010001000\n",
      "5 3\n",
      "10111\n",
      "3 4\n",
      "110\n",
      "13 2\n",
      "1001110001101\n",
      "6 1\n",
      "100101\n",
      "19 2\n",
      "0010110111011101001\n",
      "15 1\n",
      "011111111001011\n",
      "7 4\n",
      "1011110\n",
      "5 2\n",
      "11010\n",
      "6 2\n",
      "010110\n",
      "9 1\n",
      "001011110\n",
      "16 1\n",
      "1011111011111111\n",
      "18 3\n",
      "100111001110110100\n",
      "2 3\n",
      "10\n",
      "8 3\n",
      "01010010\n",
      "4 3\n",
      "0000\n",
      "20 3\n",
      "10000010101010110011\n",
      "15 1\n",
      "011100001101000\n",
      "9 2\n",
      "111100000\n",
      "17 4\n",
      "11000000001000001\n",
      "9 4\n",
      "001000101\n",
      "17 1\n",
      "00110110001111101\n",
      "14 2\n",
      "11001101111110\n",
      "7 1\n",
      "0111000\n",
      "15 1\n",
      "110100000110011\n",
      "11 3\n",
      "10001100010\n",
      "15 4\n",
      "101011100110110\n",
      "8 3\n",
      "11001010\n",
      "10 4\n",
      "1101001010\n",
      "20 1\n",
      "00100100100010110111\n",
      "9 4\n",
      "111100000\n",
      "2 3\n",
      "01\n",
      "18 4\n",
      "010111001011001010\n",
      "20 4\n",
      "11001001010111010100\n",
      "20 3\n",
      "10101110010010001001\n",
      "11 4\n",
      "00010000111\n",
      "20 2\n",
      "01111111110000000011\n",
      "15 4\n",
      "001010001110111\n",
      "17 3\n",
      "11100011100010000\n",
      "8 1\n",
      "00100110\n",
      "5 4\n",
      "11010\n",
      "17 2\n",
      "01000001001110000\n",
      "11 3\n",
      "11010001101\n",
      "19 4\n",
      "0111011101100111101\n",
      "19 1\n",
      "1011011001001101100\n",
      "17 4\n",
      "01100010010110000\n",
      "3 3\n",
      "001\n",
      "20 3\n",
      "11011001011011000010\n",
      "10 1\n",
      "0110111111\n",
      "5 3\n",
      "01001\n",
      "15 3\n",
      "100000111100010\n",
      "12 2\n",
      "111010110011\n",
      "6 4\n",
      "101101\n",
      "5 1\n",
      "10000\n",
      "13 3\n",
      "1000110001110\n",
      "20 2\n",
      "10100100011010001111\n",
      "8 2\n",
      "11011111\n",
      "9 1\n",
      "101010111\n",
      "15 1\n",
      "101010011101101\n",
      "11 1\n",
      "11011100001\n",
      "4 1\n",
      "0110\n",
      "4 3\n",
      "1001\n",
      "11 3\n",
      "01100110110\n",
      "13 3\n",
      "0011101111011\n",
      "13 2\n",
      "0101111100111\n",
      "3 4\n",
      "111\n",
      "12 1\n",
      "101000100001\n",
      "6 4\n",
      "110101\n",
      "8 2\n",
      "11110111\n",
      "5 4\n",
      "11111\n",
      "16 3\n",
      "1011111100111000\n",
      "9 1\n",
      "001011101\n",
      "4 3\n",
      "0111\n",
      "15 1\n",
      "011110110110000\n",
      "7 4\n",
      "1010000\n",
      "13 2\n",
      "0101111011000\n",
      "15 2\n",
      "001111011110110\n",
      "3 4\n",
      "010\n",
      "3 1\n",
      "111\n",
      "20 4\n",
      "10101001100001011011\n",
      "11 2\n",
      "11010100011\n",
      "19 2\n",
      "0101101101011001000\n",
      "2 2\n",
      "00\n",
      "10 2\n",
      "1110111110\n",
      "9 2\n",
      "110111010\n",
      "7 2\n",
      "0001110\n",
      "8 4\n",
      "00000011\n",
      "20 1\n",
      "00011101001000000100\n",
      "7 3\n",
      "1010101\n",
      "18 3\n",
      "100110001010111111\n",
      "15 3\n",
      "011111001101111\n",
      "9 2\n",
      "100100111\n",
      "6 4\n",
      "000011\n",
      "4 2\n",
      "1010\n",
      "11 1\n",
      "01110000010\n",
      "12 3\n",
      "001011111010\n",
      "18 1\n",
      "111110110011101111\n",
      "8 2\n",
      "11110010\n",
      "10 3\n",
      "0010110001\n",
      "13 4\n",
      "0101011000110\n",
      "14 4\n",
      "00110000011001\n",
      "14 4\n",
      "00101010111010\n",
      "2 1\n",
      "10\n",
      "12 4\n",
      "111111100000\n",
      "2 3\n",
      "10\n",
      "2 4\n",
      "00\n",
      "4 3\n",
      "1110\n",
      "19 2\n",
      "0110100110010111111\n",
      "7 2\n",
      "1101111\n",
      "15 4\n",
      "000111001111011\n",
      "6 3\n",
      "100000\n",
      "4 2\n",
      "0111\n",
      "3 2\n",
      "011\n",
      "6 3\n",
      "101101\n",
      "15 3\n",
      "011100010000100\n",
      "7 4\n",
      "0010101\n",
      "17 2\n",
      "10001011010011011\n",
      "12 3\n",
      "101110111101\n",
      "19 2\n",
      "1111100000101011011\n",
      "12 3\n",
      "101100000111\n",
      "11 2\n",
      "10011000111\n",
      "15 1\n",
      "001000110000100\n",
      "14 4\n",
      "00000010101110\n",
      "15 1\n",
      "001101100000101\n",
      "12 1\n",
      "101011011001\n",
      "16 4\n",
      "1111110010000100\n",
      "5 3\n",
      "01111\n",
      "14 4\n",
      "11010011001101\n",
      "15 2\n",
      "111000001111000\n",
      "5 3\n",
      "10111\n",
      "16 3\n",
      "0100101101101001\n",
      "2 1\n",
      "11\n",
      "12 4\n",
      "011100111011\n",
      "19 1\n",
      "0010101101011100111\n",
      "19 3\n",
      "1010111001000011000\n",
      "3 4\n",
      "100\n",
      "2 2\n",
      "10\n",
      "20 3\n",
      "11101000100111010001\n",
      "20 3\n",
      "10111100101101000111\n",
      "5 1\n",
      "10001\n",
      "7 1\n",
      "0000000\n",
      "16 4\n",
      "0101010000110111\n",
      "7 1\n",
      "1010000\n",
      "4 2\n",
      "0101\n",
      "10 3\n",
      "1001010100\n",
      "15 2\n",
      "100101001011101\n",
      "18 4\n",
      "001001100101101001\n",
      "16 1\n",
      "0001100100000000\n",
      "8 1\n",
      "11111101\n",
      "13 4\n",
      "0001011001100\n",
      "11 1\n",
      "10000000101\n",
      "10 1\n",
      "0100111101\n",
      "13 1\n",
      "0101100110000\n",
      "12 3\n",
      "010010010010\n",
      "19 1\n",
      "1100010011000000010\n",
      "3 1\n",
      "111\n",
      "11 3\n",
      "01010110100\n",
      "12 3\n",
      "110011111101\n",
      "10 1\n",
      "0110100100\n",
      "14 3\n",
      "11011010011101\n",
      "6 3\n",
      "000100\n",
      "9 1\n",
      "011101100\n",
      "20 3\n",
      "10011000010010010100\n",
      "3 2\n",
      "101\n",
      "5 3\n",
      "00011\n",
      "14 1\n",
      "11000000110010\n",
      "11 2\n",
      "10100001110\n",
      "9 3\n",
      "101101110\n",
      "3 2\n",
      "101\n",
      "4 1\n",
      "0110\n",
      "17 2\n",
      "10101011110111101\n",
      "18 1\n",
      "111000111011110110\n",
      "10 1\n",
      "0110111111\n",
      "2 3\n",
      "10\n",
      "11 4\n",
      "00111000000\n",
      "9 4\n",
      "001111011\n",
      "2 1\n",
      "00\n",
      "2 3\n",
      "00\n",
      "3 3\n",
      "110\n",
      "18 4\n",
      "011011011001001000\n",
      "10 4\n",
      "0111100000\n",
      "20 3\n",
      "10110111011100111101\n",
      "20 1\n",
      "00011111110011110011\n",
      "6 2\n",
      "100101\n",
      "20 1\n",
      "00101100001001110101\n",
      "20 3\n",
      "01010111101011011100\n",
      "4 3\n",
      "1110\n",
      "14 1\n",
      "11010100001111\n",
      "7 3\n",
      "1101000\n",
      "8 3\n",
      "11101000\n",
      "16 1\n",
      "0001100001011001\n",
      "15 2\n",
      "001100010110110\n",
      "14 1\n",
      "00101000011101\n",
      "13 1\n",
      "1011000100101\n",
      "20 4\n",
      "01011110010111100010\n",
      "5 1\n",
      "10001\n",
      "5 1\n",
      "00011\n",
      "6 3\n",
      "111110\n",
      "18 1\n",
      "100000100111110001\n",
      "16 4\n",
      "1110011111001101\n",
      "4 1\n",
      "1001\n",
      "9 1\n",
      "111101011\n",
      "16 4\n",
      "0111101100101011\n",
      "14 3\n",
      "10000111111111\n",
      "14 4\n",
      "11110000010011\n",
      "3 2\n",
      "111\n",
      "19 2\n",
      "0011110110100101000\n",
      "13 1\n",
      "1111001101100\n",
      "17 1\n",
      "11110000111110011\n",
      "8 1\n",
      "00100101\n",
      "2 4\n",
      "10\n",
      "18 2\n",
      "011000111000011001\n",
      "11 4\n",
      "01110000110\n",
      "5 3\n",
      "11110\n",
      "17 3\n",
      "11111001111000010\n",
      "4 1\n",
      "1101\n",
      "14 1\n",
      "11110111011001\n",
      "20 3\n",
      "01001011010001010000\n",
      "16 4\n",
      "0100010100110111\n",
      "3 3\n",
      "011\n",
      "3 3\n",
      "111\n",
      "5 3\n",
      "01100\n",
      "11 3\n",
      "11100110111\n",
      "18 4\n",
      "000101101100111001\n",
      "18 1\n",
      "000100101001001000\n",
      "12 3\n",
      "000010100000\n",
      "4 3\n",
      "0011\n",
      "10 2\n",
      "1100110011\n",
      "13 4\n",
      "1000100000000\n",
      "8 1\n",
      "00110100\n",
      "5 3\n",
      "10001\n",
      "6 1\n",
      "110111\n",
      "19 4\n",
      "0111001010110111010\n",
      "4 4\n",
      "1100\n",
      "14 2\n",
      "00101110110101\n",
      "19 4\n",
      "0011111111110010000\n",
      "19 1\n",
      "0010000001100010011\n",
      "16 1\n",
      "1001101110011110\n",
      "19 1\n",
      "0011101101011101001\n",
      "2 1\n",
      "10\n",
      "20 3\n",
      "00110100100001011011\n",
      "20 4\n",
      "10011011100101001010\n",
      "18 2\n",
      "111111110111111010\n",
      "10 1\n",
      "0110000100\n",
      "11 1\n",
      "10000110010\n",
      "2 4\n",
      "11\n",
      "4 4\n",
      "1101\n",
      "11 3\n",
      "10100101100\n",
      "20 1\n",
      "10100000001000011010\n",
      "17 1\n",
      "01011111001111101\n",
      "2 2\n",
      "01\n",
      "13 4\n",
      "1011001000101\n",
      "18 4\n",
      "011111000000001100\n",
      "2 1\n",
      "11\n",
      "12 1\n",
      "111111001101\n",
      "2 1\n",
      "00\n",
      "3 3\n",
      "111\n",
      "10 3\n",
      "0101011011\n",
      "17 1\n",
      "01111100101101101\n",
      "14 4\n",
      "01011110001100\n",
      "17 3\n",
      "01000100001000010\n",
      "18 1\n",
      "010001111010101111\n",
      "10 1\n",
      "1011000110\n",
      "18 4\n",
      "001001111100000011\n",
      "15 2\n",
      "010110010010000\n",
      "17 1\n",
      "10000011001011100\n",
      "2 4\n",
      "00\n",
      "14 1\n",
      "10001100100101\n",
      "14 1\n",
      "11010110011100\n",
      "7 3\n",
      "1000110\n",
      "3 4\n",
      "110\n",
      "7 2\n",
      "0110001\n",
      "19 4\n",
      "0010110111001100001\n",
      "20 2\n",
      "10001000100101111000\n",
      "14 1\n",
      "01011011111101\n",
      "13 3\n",
      "0111111111110\n",
      "3 1\n",
      "100\n",
      "15 1\n",
      "100011101100000\n",
      "3 4\n",
      "001\n",
      "6 2\n",
      "001001\n",
      "17 2\n",
      "11111110101011111\n",
      "13 3\n",
      "0111011111110\n",
      "4 4\n",
      "1011\n",
      "3 2\n",
      "011\n",
      "19 1\n",
      "0100000011011001000\n",
      "13 1\n",
      "1011010011101\n",
      "13 2\n",
      "0010111110011\n",
      "8 3\n",
      "01000111\n",
      "11 2\n",
      "10100101101\n",
      "12 4\n",
      "010110000001\n",
      "3 4\n",
      "101\n",
      "9 3\n",
      "100010111\n",
      "20 3\n",
      "10100010101100011111\n",
      "14 4\n",
      "11100001010101\n",
      "18 1\n",
      "000101001111000001\n",
      "20 3\n",
      "00101110010000011001\n",
      "8 4\n",
      "10001110\n",
      "14 3\n",
      "11110000100001\n",
      "10 2\n",
      "1000111010\n",
      "18 1\n",
      "101010100000001001\n",
      "12 4\n",
      "100011011000\n",
      "11 4\n",
      "11110100101\n",
      "13 4\n",
      "1110011110000\n",
      "6 3\n",
      "001100\n",
      "6 2\n",
      "011010\n",
      "19 4\n",
      "1100100010011001011\n",
      "6 1\n",
      "100011\n",
      "5 1\n",
      "00011\n",
      "5 4\n",
      "01011\n",
      "13 2\n",
      "1100000011111\n",
      "7 1\n",
      "0011110\n",
      "16 1\n",
      "1111001101101100\n",
      "17 4\n",
      "11010101011111111\n",
      "7 3\n",
      "1101100\n",
      "20 3\n",
      "01000010101000100110\n",
      "3 2\n",
      "100\n",
      "13 4\n",
      "1100010000100\n",
      "19 3\n",
      "0001100110110001111\n",
      "8 1\n",
      "00101100\n",
      "18 3\n",
      "101011010010001101\n",
      "13 2\n",
      "0001001100001\n",
      "3 2\n",
      "000\n",
      "15 1\n",
      "011111000110101\n",
      "9 3\n",
      "000010001\n",
      "16 1\n",
      "0101011001001101\n",
      "8 4\n",
      "10110100\n",
      "13 1\n",
      "0101101110011\n",
      "11 2\n",
      "00001100010\n",
      "12 1\n",
      "111001000101\n",
      "4 1\n",
      "1100\n",
      "11 2\n",
      "10100111110\n",
      "5 2\n",
      "11110\n",
      "17 3\n",
      "10111100010000000\n",
      "12 1\n",
      "111001110111\n",
      "14 1\n",
      "11001001100100\n",
      "8 2\n",
      "00001100\n",
      "13 3\n",
      "0011011000011\n",
      "6 2\n",
      "110011\n",
      "5 3\n",
      "00010\n",
      "15 2\n",
      "111000101101100\n",
      "5 4\n",
      "11111\n",
      "6 1\n",
      "100100\n",
      "10 1\n",
      "0100010011\n",
      "11 3\n",
      "01011001100\n",
      "5 2\n",
      "01110\n",
      "12 4\n",
      "100111011101\n",
      "15 2\n",
      "010101111000100\n",
      "9 1\n",
      "111001100\n",
      "16 2\n",
      "0100100011001100\n",
      "7 1\n",
      "0101010\n",
      "12 1\n",
      "111111111010\n",
      "15 3\n",
      "001110011001000\n",
      "8 3\n",
      "11001111\n",
      "18 4\n",
      "111010110101010110\n",
      "20 4\n",
      "01010000111010011111\n",
      "9 1\n",
      "010101011\n",
      "8 3\n",
      "11110011\n",
      "20 1\n",
      "01001010000000010101\n",
      "12 3\n",
      "010111011110\n",
      "19 3\n",
      "1001011011110010111\n",
      "14 2\n",
      "00101010010000\n",
      "6 4\n",
      "110110\n",
      "3 2\n",
      "010\n",
      "3 2\n",
      "101\n",
      "17 2\n",
      "00110001100110111\n",
      "8 1\n",
      "00001111\n",
      "18 2\n",
      "010110101000101101\n",
      "11 4\n",
      "01010011101\n",
      "19 2\n",
      "1010000110010100110\n",
      "16 4\n",
      "1001110001010111\n",
      "7 2\n",
      "1001111\n",
      "19 2\n",
      "1111000011011111100\n",
      "3 1\n",
      "100\n",
      "14 3\n",
      "01110001001111\n",
      "17 2\n",
      "11101100000011100\n",
      "4 1\n",
      "0011\n",
      "5 1\n",
      "10011\n",
      "17 1\n",
      "11111011110010001\n",
      "5 2\n",
      "01011\n",
      "17 3\n",
      "11101011100000111\n",
      "13 4\n",
      "1000111000011\n",
      "16 1\n",
      "1011111100110011\n",
      "2 3\n",
      "11\n",
      "11 2\n",
      "11000010101\n",
      "11 3\n",
      "01000001101\n",
      "5 4\n",
      "00011\n",
      "5 2\n",
      "11101\n",
      "8 4\n",
      "00100100\n",
      "11 4\n",
      "01111001100\n",
      "16 1\n",
      "1111000011110100\n",
      "18 2\n",
      "011110111101100011\n",
      "13 3\n",
      "0111111110110\n",
      "8 3\n",
      "00111110\n",
      "11 4\n",
      "10101000001\n",
      "10 4\n",
      "0001001011\n",
      "19 3\n",
      "1011100011111111010\n",
      "15 4\n",
      "110110110111010\n",
      "10 3\n",
      "0110110110\n",
      "18 2\n",
      "110000010110111010\n",
      "10 2\n",
      "1011100111\n",
      "7 1\n",
      "1100000\n",
      "10 4\n",
      "0101111011\n",
      "14 4\n",
      "11010010000100\n",
      "15 1\n",
      "001000100110101\n",
      "2 1\n",
      "11\n",
      "12 2\n",
      "010001101001\n",
      "16 2\n",
      "0001000011100001\n",
      "19 3\n",
      "1001110110110101111\n",
      "5 1\n",
      "11111\n",
      "20 3\n",
      "10011100100101110111\n",
      "13 2\n",
      "1011010011100\n",
      "14 2\n",
      "00101101001101\n",
      "9 4\n",
      "011100001\n",
      "4 3\n",
      "1010\n",
      "10 3\n",
      "1000000101\n",
      "9 4\n",
      "111001100\n",
      "13 2\n",
      "1001100101000\n",
      "13 4\n",
      "0101110010110\n",
      "9 4\n",
      "101100101\n",
      "10 4\n",
      "1000101111\n",
      "17 1\n",
      "01011111010111000\n",
      "2 1\n",
      "11\n",
      "8 3\n",
      "01011110\n",
      "3 1\n",
      "011\n",
      "20 1\n",
      "10111110011000010001\n",
      "3 1\n",
      "000\n",
      "4 4\n",
      "0011\n",
      "12 2\n",
      "111001110110\n",
      "11 4\n",
      "11001100011\n",
      "2 1\n",
      "10\n",
      "9 3\n",
      "001101011\n",
      "12 4\n",
      "110000011010\n",
      "18 4\n",
      "110101001001101011\n",
      "10 4\n",
      "0100010000\n",
      "6 2\n",
      "111110\n",
      "12 2\n",
      "011010111110\n",
      "3 4\n",
      "000\n",
      "14 2\n",
      "01110011111101\n",
      "4 1\n",
      "0100\n",
      "5 3\n",
      "01000\n",
      "16 1\n",
      "0101010111100110\n",
      "10 1\n",
      "0101000111\n",
      "12 4\n",
      "000111001011\n",
      "4 2\n",
      "0110\n",
      "6 2\n",
      "011011\n",
      "4 3\n",
      "0010\n",
      "18 2\n",
      "100000111110101111\n",
      "4 4\n",
      "0110\n",
      "2 3\n",
      "00\n",
      "19 2\n",
      "0010110010110011111\n",
      "14 4\n",
      "10101011110001\n",
      "2 3\n",
      "00\n",
      "18 4\n",
      "011001101001110011\n",
      "4 4\n",
      "1111\n",
      "7 4\n",
      "0100110\n",
      "4 4\n",
      "1011\n",
      "16 2\n",
      "1000101101100001\n",
      "4 2\n",
      "1000\n",
      "13 2\n",
      "1001101110101\n",
      "19 4\n",
      "1111011110001111001\n",
      "6 4\n",
      "101100\n",
      "12 1\n",
      "011010010011\n",
      "18 2\n",
      "100110101001100101\n",
      "10 3\n",
      "1111100001\n",
      "4 1\n",
      "0001\n",
      "15 2\n",
      "001011100010010\n",
      "17 2\n",
      "11111110111001000\n",
      "13 4\n",
      "0111110111100\n",
      "13 1\n",
      "0111010001111\n",
      "17 2\n",
      "11100000101110000\n",
      "18 2\n",
      "100111111111011011\n",
      "19 4\n",
      "1110111101000110110\n",
      "15 2\n",
      "010110011111000\n",
      "19 2\n",
      "1110101110000100011\n",
      "12 1\n",
      "100100100100\n",
      "12 1\n",
      "110000010110\n",
      "15 3\n",
      "010001001101010\n",
      "16 3\n",
      "0111011010111001\n",
      "12 1\n",
      "010000000100\n",
      "2 3\n",
      "01\n",
      "19 3\n",
      "1011101101011110111\n",
      "13 1\n",
      "1010010001101\n",
      "5 3\n",
      "00010\n",
      "7 1\n",
      "0000001\n",
      "12 1\n",
      "010110010100\n",
      "4 3\n",
      "0110\n",
      "9 1\n",
      "110001101\n",
      "5 3\n",
      "00001\n",
      "15 4\n",
      "000001110110010\n",
      "5 3\n",
      "01001\n",
      "8 4\n",
      "11100111\n",
      "11 4\n",
      "00101101000\n",
      "11 2\n",
      "11100101101\n",
      "3 2\n",
      "010\n",
      "3 4\n",
      "100\n",
      "9 1\n",
      "001010000\n",
      "2 3\n",
      "00\n",
      "4 2\n",
      "0110\n",
      "4 1\n",
      "1010\n",
      "10 4\n",
      "0111001110\n",
      "6 2\n",
      "100010\n",
      "9 4\n",
      "001011000\n",
      "2 1\n",
      "00\n",
      "4 2\n",
      "1101\n",
      "7 4\n",
      "0100001\n",
      "17 1\n",
      "00100010110100010\n",
      "13 4\n",
      "1001110000101\n",
      "8 4\n",
      "01001111\n",
      "9 4\n",
      "010011100\n",
      "8 4\n",
      "10110110\n",
      "19 1\n",
      "0011110011110001001\n",
      "3 4\n",
      "101\n",
      "16 4\n",
      "1011011111000011\n",
      "15 2\n",
      "011100000001100\n",
      "4 1\n",
      "1100\n",
      "13 4\n",
      "0110101110101\n",
      "12 4\n",
      "011010011110\n",
      "17 4\n",
      "01100110001001100\n",
      "20 2\n",
      "10000010100010111010\n",
      "8 4\n",
      "00011001\n",
      "6 3\n",
      "010110\n",
      "6 1\n",
      "011110\n",
      "10 1\n",
      "1110100010\n",
      "12 2\n",
      "000110101110\n",
      "7 2\n",
      "0111100\n",
      "2 1\n",
      "10\n",
      "12 3\n",
      "000111101000\n",
      "14 3\n",
      "10011001100011\n",
      "18 3\n",
      "101110000110101101\n",
      "10 1\n",
      "0110000011\n",
      "11 2\n",
      "11110010111\n",
      "2 3\n",
      "11\n",
      "6 2\n",
      "111110\n",
      "2 1\n",
      "00\n",
      "7 3\n",
      "0001011\n",
      "14 1\n",
      "01101110001110\n",
      "18 4\n",
      "001100101011000110\n",
      "15 1\n",
      "101011011110001\n",
      "16 3\n",
      "0000001001010110\n",
      "15 4\n",
      "010100110011101\n",
      "18 2\n",
      "111100100101010010\n",
      "19 3\n",
      "0100010101000011001\n",
      "14 3\n",
      "01011111111010\n",
      "2 3\n",
      "00\n",
      "17 3\n",
      "00001010001001101\n",
      "14 1\n",
      "01010011000110\n",
      "14 3\n",
      "01000100100000\n",
      "4 3\n",
      "0001\n",
      "12 2\n",
      "100110111111\n",
      "2 2\n",
      "10\n",
      "12 1\n",
      "010101100001\n",
      "6 1\n",
      "011111\n",
      "10 1\n",
      "0001100110\n",
      "10 3\n",
      "0000001111\n",
      "5 4\n",
      "01111\n",
      "15 3\n",
      "101011110000100\n",
      "9 1\n",
      "111111101\n",
      "9 2\n",
      "000101000\n",
      "9 2\n",
      "101001110\n",
      "8 4\n",
      "10010111\n",
      "14 4\n",
      "00101000011001\n",
      "16 1\n",
      "1101001110101011\n",
      "20 3\n",
      "01001010110000011011\n",
      "8 3\n",
      "10001111\n",
      "6 1\n",
      "101110\n",
      "12 2\n",
      "110110111001\n",
      "3 4\n",
      "011\n",
      "9 4\n",
      "001110101\n",
      "13 1\n",
      "1001010011000\n",
      "18 3\n",
      "010111000001100100\n",
      "7 2\n",
      "0100010\n",
      "11 2\n",
      "10101011101\n",
      "8 1\n",
      "00100011\n",
      "8 4\n",
      "10100011\n",
      "8 1\n",
      "10011101\n",
      "13 1\n",
      "0110111101011\n",
      "3 3\n",
      "000\n",
      "18 3\n",
      "011001001001100111\n",
      "3 3\n",
      "100\n",
      "2 4\n",
      "00\n",
      "18 4\n",
      "111100011011001011\n",
      "14 4\n",
      "01100001011011\n",
      "7 3\n",
      "0000111\n",
      "19 1\n",
      "1111100000011100011\n",
      "19 3\n",
      "0011100101010111000\n",
      "4 2\n",
      "1110\n",
      "5 4\n",
      "10011\n",
      "13 1\n",
      "1111101101110\n",
      "12 2\n",
      "001101011011\n",
      "9 1\n",
      "010110011\n",
      "15 4\n",
      "001100000001001\n",
      "3 2\n",
      "001\n",
      "5 1\n",
      "11110\n",
      "2 2\n",
      "10\n",
      "14 3\n",
      "00101011100000\n",
      "11 1\n",
      "00001111101\n",
      "18 3\n",
      "001001110111011011\n",
      "15 2\n",
      "000111011101101\n",
      "15 4\n",
      "100101100011001\n",
      "16 3\n",
      "1110110101100100\n",
      "20 2\n",
      "10011011110100000000\n",
      "2 1\n",
      "01\n",
      "9 4\n",
      "101111101\n",
      "12 3\n",
      "001101000101\n",
      "3 3\n",
      "101\n",
      "19 4\n",
      "0100111110010011110\n",
      "19 1\n",
      "1100100110111100111\n",
      "2 3\n",
      "11\n",
      "20 3\n",
      "11011100010100100010\n",
      "10 1\n",
      "0101011100\n",
      "3 2\n",
      "010\n",
      "18 2\n",
      "010000101101001010\n",
      "4 4\n",
      "1111\n",
      "19 3\n",
      "0010010010011100111\n",
      "18 3\n",
      "110001001111110001\n",
      "10 1\n",
      "1010110110\n",
      "3 2\n",
      "100\n",
      "15 2\n",
      "000001011110011\n",
      "14 2\n",
      "00011101000111\n",
      "13 4\n",
      "1000001101010\n",
      "3 3\n",
      "011\n",
      "3 2\n",
      "111\n",
      "19 1\n",
      "1011111001000101011\n",
      "18 3\n",
      "100100111100110100\n",
      "10 1\n",
      "0001011111\n",
      "16 3\n",
      "0000000101000010\n",
      "8 2\n",
      "00101010\n",
      "13 1\n",
      "0011111011000\n",
      "7 1\n",
      "0100010\n",
      "10 1\n",
      "0010110111\n",
      "5 4\n",
      "00100\n",
      "10 1\n",
      "0001101000\n",
      "11 3\n",
      "10111100001\n",
      "11 1\n",
      "01111000000\n",
      "2 3\n",
      "11\n",
      "5 1\n",
      "01010\n",
      "3 4\n",
      "010\n",
      "19 2\n",
      "1111100101011110101\n",
      "9 4\n",
      "101000011\n",
      "20 2\n",
      "10110010111101000011\n",
      "19 2\n",
      "0011100010010101110\n",
      "15 1\n",
      "000011101110111\n",
      "14 1\n",
      "11011111101010\n",
      "16 1\n",
      "0001001001001011\n",
      "12 3\n",
      "010011100010\n",
      "9 1\n",
      "011111001\n",
      "14 1\n",
      "10001011010001\n",
      "16 2\n",
      "1110011011001111\n",
      "8 2\n",
      "01111000\n",
      "3 4\n",
      "011\n",
      "15 4\n",
      "111100101110101\n",
      "14 4\n",
      "01010000011101\n",
      "20 2\n",
      "11111110010000110101\n",
      "6 3\n",
      "110100\n",
      "9 4\n",
      "011111101\n",
      "16 1\n",
      "0010011010101111\n",
      "14 3\n",
      "01000101111001\n",
      "18 3\n",
      "010111100110010110\n",
      "13 4\n",
      "0111101111011\n",
      "17 4\n",
      "01101110011010101\n",
      "7 2\n",
      "1111001\n",
      "9 3\n",
      "111101111\n",
      "19 2\n",
      "0000100100110111001\n",
      "19 1\n",
      "1110001011011010010\n",
      "3 1\n",
      "010\n",
      "4 1\n",
      "0111\n",
      "7 1\n",
      "0010010\n",
      "20 4\n",
      "01001011111100111110\n",
      "8 2\n",
      "00101111\n",
      "7 1\n",
      "1001111\n",
      "11 3\n",
      "11010111111\n",
      "15 2\n",
      "001000101001101\n",
      "5 1\n",
      "11010\n",
      "13 2\n",
      "1110100100101\n",
      "20 4\n",
      "00101111100010001100\n",
      "17 4\n",
      "01000101000101001\n",
      "4 3\n",
      "0100\n",
      "20 4\n",
      "00011100100001011011\n",
      "9 4\n",
      "010111010\n",
      "10 2\n",
      "0010110010\n",
      "18 4\n",
      "101010110010010110\n",
      "8 2\n",
      "01101111\n",
      "2 4\n",
      "01\n",
      "4 2\n",
      "0101\n",
      "16 3\n",
      "0010001111001010\n",
      "14 2\n",
      "11110010100101\n",
      "12 2\n",
      "110101011000\n",
      "3 4\n",
      "010\n",
      "17 4\n",
      "10001110000010001\n",
      "13 2\n",
      "1010011011101\n",
      "16 4\n",
      "0110010100011000\n",
      "10 1\n",
      "0111100000\n",
      "12 1\n",
      "011001001010\n",
      "4 1\n",
      "1100\n",
      "19 3\n",
      "0111111010010011001\n",
      "17 4\n",
      "11011111000011100\n",
      "11 2\n",
      "10111101011\n",
      "9 4\n",
      "100011001\n",
      "9 4\n",
      "010011011\n",
      "13 3\n",
      "0010001110100\n",
      "15 2\n",
      "101100001110111\n",
      "7 1\n",
      "0011101\n",
      "12 4\n",
      "100101000001\n",
      "4 2\n",
      "0111\n",
      "5 2\n",
      "11110\n",
      "15 1\n",
      "111011100001001\n",
      "8 4\n",
      "00101000\n",
      "9 2\n",
      "100111110\n",
      "10 3\n",
      "0101110000\n",
      "17 1\n",
      "00001000111110001\n",
      "2 4\n",
      "00\n",
      "18 2\n",
      "010110100100111011\n",
      "5 3\n",
      "11100\n",
      "10 4\n",
      "0000100011\n",
      "11 3\n",
      "00010011100\n",
      "9 3\n",
      "001101010\n",
      "11 4\n",
      "00000100010\n",
      "4 2\n",
      "0011\n",
      "10 4\n",
      "1111100011\n",
      "9 2\n",
      "101110001\n",
      "5 4\n",
      "10010\n",
      "12 1\n",
      "011101101011\n",
      "9 2\n",
      "100110100\n",
      "7 2\n",
      "0110111\n",
      "20 3\n",
      "10101001100001110011\n",
      "9 2\n",
      "010000001\n",
      "20 1\n",
      "10000001011000100101\n",
      "16 1\n",
      "0101100010011111\n",
      "3 4\n",
      "011\n",
      "18 4\n",
      "101100101110101100\n",
      "8 1\n",
      "01110100\n",
      "15 1\n",
      "011101111010110\n",
      "10 2\n",
      "0000101000\n",
      "7 3\n",
      "1110111\n",
      "9 4\n",
      "010010000\n",
      "20 3\n",
      "10100000001010101000\n",
      "15 3\n",
      "110001011101100\n",
      "4 4\n",
      "1111\n",
      "15 2\n",
      "010001011101001\n",
      "10 4\n",
      "1110110100\n",
      "18 2\n",
      "110011101101111010\n",
      "9 1\n",
      "000110101\n",
      "5 3\n",
      "10100\n",
      "19 3\n",
      "1101010001100000010\n",
      "10 3\n",
      "1110011111\n",
      "6 4\n",
      "001100\n",
      "8 2\n",
      "10100101\n",
      "20 4\n",
      "01110001101110011100\n",
      "5 2\n",
      "10110\n",
      "17 4\n",
      "00101001110111011\n",
      "6 2\n",
      "000110\n",
      "10 3\n",
      "1110010110\n",
      "10 4\n",
      "0100100001\n",
      "5 2\n",
      "00110\n",
      "3 4\n",
      "110\n",
      "13 2\n",
      "1100000000110\n",
      "8 3\n",
      "00101011\n",
      "7 1\n",
      "0111001\n",
      "7 3\n",
      "0001111\n",
      "2 2\n",
      "11\n",
      "10 4\n",
      "1101110000\n",
      "11 1\n",
      "10101011011\n",
      "20 2\n",
      "11010001100010111001\n",
      "18 4\n",
      "011011000100000111\n",
      "4 3\n",
      "1010\n",
      "11 1\n",
      "01011011101\n",
      "16 1\n",
      "1010011011001010\n",
      "10 4\n",
      "1000000100\n",
      "10 3\n",
      "1000101110\n",
      "16 2\n",
      "1110101001110010\n",
      "12 1\n",
      "000110101010\n",
      "18 4\n",
      "101000101001101111\n",
      "14 3\n",
      "01100100100000\n",
      "10 3\n",
      "1011010010\n",
      "10 2\n",
      "1110100111\n",
      "6 2\n",
      "001100\n",
      "4 4\n",
      "0011\n",
      "4 3\n",
      "0000\n",
      "16 3\n",
      "1111110010111111\n",
      "15 3\n",
      "110010110100110\n",
      "11 4\n",
      "11110110100\n",
      "6 3\n",
      "001011\n",
      "7 2\n",
      "0000111\n",
      "15 4\n",
      "100110010110000\n",
      "19 2\n",
      "1100001001101100110\n",
      "19 1\n",
      "0000011100101100000\n",
      "20 3\n",
      "01100000011000100110\n",
      "12 1\n",
      "100110010000\n",
      "8 4\n",
      "10000010\n",
      "4 3\n",
      "0101\n",
      "14 1\n",
      "11010111000110\n",
      "17 1\n",
      "10101010001011011\n",
      "3 4\n",
      "010\n",
      "3 1\n",
      "100\n",
      "19 4\n",
      "1011110010100011101\n",
      "15 3\n",
      "011010000100001\n",
      "7 2\n",
      "0011010\n",
      "4 4\n",
      "1111\n",
      "2 1\n",
      "10\n",
      "8 2\n",
      "10110100\n",
      "9 4\n",
      "000101100\n",
      "13 4\n",
      "0110000101101\n",
      "4 2\n",
      "0101\n",
      "2 2\n",
      "11\n",
      "8 2\n",
      "00110111\n",
      "2 1\n",
      "00\n",
      "6 2\n",
      "001111\n",
      "20 4\n",
      "11001111000000001110\n",
      "19 2\n",
      "1110100000011011101\n",
      "8 1\n",
      "00100111\n",
      "5 2\n",
      "01101\n",
      "4 1\n",
      "0111\n",
      "10 3\n",
      "1100101000\n",
      "14 3\n",
      "01010100001101\n",
      "19 1\n",
      "0001010101001010111\n",
      "12 1\n",
      "011011100000\n",
      "7 4\n",
      "1001100\n",
      "17 2\n",
      "10011001110110101\n",
      "14 4\n",
      "00111111000111\n",
      "15 4\n",
      "110000110101100\n",
      "5 3\n",
      "11001\n",
      "10 2\n",
      "0010000010\n",
      "12 2\n",
      "011111011101\n",
      "16 1\n",
      "1100011101001110\n",
      "2 2\n",
      "10\n",
      "5 2\n",
      "10110\n",
      "12 1\n",
      "110100001100\n",
      "16 1\n",
      "0010110011001011\n",
      "12 2\n",
      "000011101001\n",
      "20 3\n",
      "11001101011010100100\n",
      "5 3\n",
      "10100\n",
      "13 4\n",
      "0100110000010\n",
      "20 3\n",
      "11110001010000111101\n",
      "3 3\n",
      "111\n",
      "8 1\n",
      "00010011\n",
      "2 2\n",
      "01\n",
      "4 1\n",
      "1000\n",
      "17 3\n",
      "01110100011110101\n",
      "5 4\n",
      "00010\n",
      "8 3\n",
      "11010001\n",
      "17 1\n",
      "00100111101111100\n",
      "6 4\n",
      "111111\n",
      "12 3\n",
      "000111010010\n",
      "7 1\n",
      "0011111\n",
      "11 1\n",
      "00111111001\n",
      "13 4\n",
      "0000101100001\n",
      "13 2\n",
      "1111011111001\n",
      "8 2\n",
      "00110000\n",
      "13 1\n",
      "1101111001100\n",
      "6 3\n",
      "010101\n",
      "15 4\n",
      "011101110011001\n",
      "6 2\n",
      "111010\n",
      "15 3\n",
      "100010001010101\n",
      "2 1\n",
      "00\n",
      "19 2\n",
      "0101100101011010101\n",
      "10 1\n",
      "1001011100\n",
      "2 1\n",
      "11\n",
      "16 4\n",
      "1100100001111101\n",
      "14 4\n",
      "11011110000100\n",
      "19 4\n",
      "0100111000111100000\n",
      "4 4\n",
      "0101\n",
      "17 1\n",
      "11010101101111111\n",
      "8 1\n",
      "10101101\n",
      "7 4\n",
      "0000110\n",
      "16 4\n",
      "1111000001110100\n",
      "2 2\n",
      "01\n",
      "20 3\n",
      "11101011011111000100\n",
      "18 4\n",
      "101110100110100010\n",
      "5 2\n",
      "01110\n",
      "13 2\n",
      "1011100001100\n",
      "20 3\n",
      "11010100000001001011\n",
      "15 4\n",
      "010101111110000\n",
      "3 1\n",
      "000\n",
      "16 1\n",
      "0010111100011000\n",
      "17 2\n",
      "01101100111010001\n",
      "11 1\n",
      "10101011010\n",
      "11 1\n",
      "11001010110\n",
      "10 3\n",
      "1100000000\n",
      "6 1\n",
      "111011\n",
      "15 1\n",
      "111011010001001\n",
      "10 2\n",
      "0000000100\n",
      "5 3\n",
      "00001\n",
      "15 1\n",
      "101100110001001\n",
      "17 4\n",
      "01000101001101111\n",
      "18 1\n",
      "101101011011010011\n",
      "9 1\n",
      "010101101\n",
      "14 2\n",
      "00010110100000\n",
      "19 3\n",
      "1001011010110010101\n",
      "14 2\n",
      "11110010100000\n",
      "5 4\n",
      "00110\n",
      "15 2\n",
      "110000000101001\n",
      "19 3\n",
      "1010011110101011001\n",
      "15 1\n",
      "101000010000010\n",
      "10 4\n",
      "1010100000\n",
      "8 2\n",
      "11010110\n",
      "7 2\n",
      "0011011\n",
      "12 2\n",
      "110110000111\n",
      "8 4\n",
      "10001010\n",
      "9 2\n",
      "101111010\n",
      "10 4\n",
      "0000100011\n",
      "9 3\n",
      "010110100\n",
      "12 2\n",
      "000001011110\n",
      "3 2\n",
      "001\n",
      "19 1\n",
      "0111101110111110010\n",
      "20 4\n",
      "00111100001110011010\n",
      "8 2\n",
      "00001000\n",
      "11 1\n",
      "10010100101\n",
      "4 2\n",
      "1001\n",
      "10 4\n",
      "0100011011\n",
      "6 3\n",
      "010001\n",
      "13 2\n",
      "1111110110010\n",
      "2 4\n",
      "01\n",
      "19 2\n",
      "0110010011011111101\n",
      "4 1\n",
      "1111\n",
      "6 4\n",
      "011010\n",
      "18 1\n",
      "110111000110001001\n",
      "6 4\n",
      "110100\n",
      "5 3\n",
      "00011\n",
      "7 4\n",
      "0010011\n",
      "3 1\n",
      "110\n",
      "19 3\n",
      "0111100111111101110\n",
      "4 2\n",
      "1011\n",
      "9 4\n",
      "100110001\n",
      "12 1\n",
      "010010101110\n",
      "3 3\n",
      "101\n",
      "11 1\n",
      "01010101100\n",
      "17 3\n",
      "01110000101010010\n",
      "18 4\n",
      "111010101011110101\n",
      "12 1\n",
      "100111111010\n",
      "10 2\n",
      "1000010110\n",
      "13 3\n",
      "1010111010010\n",
      "16 1\n",
      "1110000101011101\n",
      "12 2\n",
      "101100111110\n",
      "20 3\n",
      "00100000100100000000\n",
      "13 4\n",
      "1110001111000\n",
      "14 2\n",
      "11011010000101\n",
      "4 4\n",
      "1100\n",
      "14 3\n",
      "11011111011011\n",
      "20 3\n",
      "10001110001000111100\n",
      "19 2\n",
      "0110000010000011111\n",
      "14 3\n",
      "11100011110111\n",
      "9 3\n",
      "001011011\n",
      "7 1\n",
      "1110010\n",
      "16 4\n",
      "0100110100111100\n",
      "13 2\n",
      "0100000111000\n",
      "15 4\n",
      "010000000111101\n",
      "20 2\n",
      "00110110001000001101\n",
      "4 2\n",
      "1100\n",
      "13 1\n",
      "0011000000000\n",
      "17 1\n",
      "01101100010000111\n",
      "6 4\n",
      "011111\n",
      "11 4\n",
      "01101011011\n",
      "16 1\n",
      "1111101111010111\n",
      "18 2\n",
      "101001010110110100\n",
      "8 1\n",
      "01111101\n",
      "20 4\n",
      "10110011010011001000\n",
      "6 1\n",
      "111011\n",
      "20 3\n",
      "01111010100001010101\n",
      "17 4\n",
      "01011010110100001\n",
      "10 2\n",
      "1100000011\n",
      "10 2\n",
      "1000001101\n",
      "6 3\n",
      "010011\n",
      "14 1\n",
      "01010111110100\n",
      "18 2\n",
      "110011110101011000\n",
      "4 4\n",
      "0000\n",
      "5 4\n",
      "01010\n",
      "9 4\n",
      "101001010\n",
      "2 4\n",
      "11\n",
      "5 2\n",
      "10110\n",
      "10 2\n",
      "0011111101\n",
      "17 1\n",
      "10100011101000001\n",
      "20 2\n",
      "00111001101001100100\n",
      "13 2\n",
      "0001001111111\n",
      "10 4\n",
      "0011000111\n",
      "12 2\n",
      "110100011010\n",
      "13 1\n",
      "0101000100011\n",
      "15 1\n",
      "100010110100010\n",
      "8 3\n",
      "10101110\n",
      "17 2\n",
      "00011011011110101\n",
      "5 2\n",
      "10110\n",
      "5 4\n",
      "01001\n",
      "9 3\n",
      "011000010\n",
      "16 1\n",
      "0100011101100010\n",
      "14 4\n",
      "11100101010110\n",
      "4 1\n",
      "1101\n",
      "12 3\n",
      "111000010001\n",
      "11 1\n",
      "00001001101\n",
      "5 3\n",
      "11111\n",
      "9 3\n",
      "110010011\n",
      "12 4\n",
      "011100000110\n",
      "11 4\n",
      "00101100000\n",
      "2 3\n",
      "10\n",
      "13 3\n",
      "0000111000101\n",
      "13 2\n",
      "1110100101000\n",
      "8 1\n",
      "01011010\n",
      "3 1\n",
      "000\n",
      "20 3\n",
      "00100001101101101000\n",
      "17 3\n",
      "10001000010011011\n",
      "5 2\n",
      "10101\n",
      "19 3\n",
      "0010001011000110000\n",
      "8 3\n",
      "00100000\n",
      "17 2\n",
      "11001110111101110\n",
      "9 4\n",
      "101101110\n",
      "5 1\n",
      "00000\n",
      "16 2\n",
      "1001110011100111\n",
      "6 1\n",
      "010010\n",
      "5 3\n",
      "11010\n",
      "10 1\n",
      "1001110010\n",
      "4 3\n",
      "1011\n",
      "8 3\n",
      "10101110\n",
      "12 2\n",
      "001110011001\n",
      "9 4\n",
      "001111110\n",
      "7 2\n",
      "1111010\n",
      "19 1\n",
      "0001111011110000101\n",
      "6 1\n",
      "100000\n",
      "17 1\n",
      "10010111011111001\n",
      "8 2\n",
      "10110101\n",
      "8 2\n",
      "00011110\n",
      "9 3\n",
      "110110001\n",
      "16 4\n",
      "0010111100110011\n",
      "5 2\n",
      "10100\n",
      "4 1\n",
      "0100\n",
      "16 2\n",
      "1100011110111100\n",
      "6 1\n",
      "000011\n",
      "6 1\n",
      "000010\n",
      "2 1\n",
      "11\n",
      "13 1\n",
      "0001101010110\n",
      "9 2\n",
      "000011101\n",
      "7 3\n",
      "1000101\n",
      "3 1\n",
      "111\n",
      "17 3\n",
      "11011100100110010\n",
      "19 3\n",
      "1010000001000001110\n",
      "2 3\n",
      "00\n",
      "8 2\n",
      "01000000\n",
      "19 1\n",
      "0110000111000101001\n",
      "18 1\n",
      "001011000100000100\n",
      "16 4\n",
      "1111100011011111\n",
      "13 4\n",
      "0110010111110\n",
      "17 4\n",
      "01001110010101111\n",
      "6 1\n",
      "110000\n",
      "12 2\n",
      "011100001000\n",
      "11 4\n",
      "00111011101\n",
      "8 2\n",
      "11101101\n",
      "14 2\n",
      "11001011101110\n",
      "20 1\n",
      "00100100101001010001\n",
      "2 4\n",
      "11\n",
      "3 1\n",
      "011\n",
      "19 4\n",
      "1000011100010001111\n",
      "17 1\n",
      "00001001100011000\n",
      "13 4\n",
      "1101110100111\n",
      "13 1\n",
      "1000101000111\n",
      "17 1\n",
      "01000101111010100\n",
      "10 4\n",
      "1100101101\n",
      "11 3\n",
      "11010010011\n",
      "3 1\n",
      "111\n",
      "4 3\n",
      "0100\n",
      "4 2\n",
      "0010\n",
      "14 4\n",
      "11000111011011\n",
      "12 3\n",
      "001000111000\n",
      "18 1\n",
      "100111100100001001\n",
      "10 4\n",
      "0001100011\n",
      "13 3\n",
      "1001111110100\n",
      "13 1\n",
      "0101010011110\n",
      "4 3\n",
      "0001\n",
      "3 3\n",
      "011\n",
      "8 4\n",
      "10101010\n",
      "2 1\n",
      "00\n",
      "5 4\n",
      "01010\n",
      "8 1\n",
      "10110101\n",
      "20 1\n",
      "00001110001011111100\n",
      "12 4\n",
      "010011011010\n",
      "19 2\n",
      "1011110101100011100\n",
      "9 2\n",
      "000000010\n",
      "4 1\n",
      "1100\n",
      "18 1\n",
      "110001011110010011\n",
      "13 1\n",
      "1011011001000\n",
      "19 2\n",
      "0010100010001011001\n",
      "19 2\n",
      "1101011110111101101\n",
      "11 1\n",
      "00110110000\n",
      "17 1\n",
      "10010001010101110\n",
      "16 4\n",
      "0010010011111111\n",
      "4 2\n",
      "0011\n",
      "2 3\n",
      "00\n",
      "18 1\n",
      "000110100100010011\n",
      "8 2\n",
      "01010110\n",
      "19 3\n",
      "0000011001111000010\n",
      "14 4\n",
      "10100001100000\n",
      "8 3\n",
      "11101001\n",
      "4 1\n",
      "1000\n",
      "18 2\n",
      "100100101111110000\n",
      "18 1\n",
      "000011110000111100\n",
      "7 3\n",
      "0111000\n",
      "14 1\n",
      "00111010011101\n",
      "5 4\n",
      "01110\n",
      "3 3\n",
      "011\n",
      "16 3\n",
      "0001110110111011\n",
      "15 2\n",
      "111011010001000\n",
      "10 2\n",
      "1110010000\n",
      "20 4\n",
      "01000010010110101111\n",
      "18 1\n",
      "110100001000000010\n",
      "2 1\n",
      "10\n",
      "15 3\n",
      "100011000010100\n",
      "11 3\n",
      "11010010110\n",
      "10 1\n",
      "1010100111\n",
      "8 4\n",
      "00100111\n",
      "10 2\n",
      "0101000000\n",
      "19 2\n",
      "0100011101101001001\n",
      "12 1\n",
      "110001110000\n",
      "5 1\n",
      "10111\n",
      "13 3\n",
      "0111011101000\n",
      "16 2\n",
      "1011011010101111\n",
      "12 4\n",
      "101100100110\n",
      "2 1\n",
      "11\n",
      "4 2\n",
      "0001\n",
      "17 1\n",
      "10011010101000010\n",
      "18 2\n",
      "000101110001100110\n",
      "19 3\n",
      "1001010100111000101\n",
      "3 4\n",
      "110\n",
      "9 1\n",
      "010101001\n",
      "14 1\n",
      "01110000011000\n",
      "4 2\n",
      "1011\n",
      "3 3\n",
      "001\n",
      "19 2\n",
      "1011110000000101010\n",
      "15 3\n",
      "101111011000010\n",
      "9 2\n",
      "010010010\n",
      "4 1\n",
      "0010\n",
      "12 3\n",
      "000010101100\n",
      "10 4\n",
      "1101000110\n",
      "7 1\n",
      "0100100\n",
      "15 1\n",
      "000111010010011\n",
      "14 4\n",
      "11011011110001\n",
      "2 2\n",
      "00\n",
      "6 4\n",
      "010111\n",
      "6 3\n",
      "001110\n",
      "2 4\n",
      "00\n",
      "20 2\n",
      "00100110110010011100\n",
      "18 1\n",
      "110010000001011100\n",
      "2 4\n",
      "01\n",
      "8 2\n",
      "11000101\n",
      "17 1\n",
      "00111110010000101\n",
      "10 3\n",
      "1000010110\n",
      "15 3\n",
      "111011110000001\n",
      "8 3\n",
      "01000110\n",
      "9 1\n",
      "001000010\n",
      "18 1\n",
      "111011110110000111\n",
      "12 3\n",
      "010110100110\n",
      "12 3\n",
      "100011111110\n",
      "18 1\n",
      "110100000100011001\n",
      "12 2\n",
      "101010011101\n",
      "12 1\n",
      "000100011110\n",
      "20 2\n",
      "11001100100101111111\n",
      "11 1\n",
      "01110110110\n",
      "16 2\n",
      "0001101100100001\n",
      "4 1\n",
      "0011\n",
      "10 4\n",
      "1000000001\n",
      "11 3\n",
      "00010011100\n",
      "11 2\n",
      "11001011110\n",
      "7 3\n",
      "1011111\n",
      "10 1\n",
      "1111111111\n",
      "6 4\n",
      "001010\n",
      "7 2\n",
      "0111010\n",
      "18 4\n",
      "111111000101010000\n",
      "20 4\n",
      "10101011110000010001\n",
      "5 3\n",
      "01111\n",
      "14 2\n",
      "00100111110101\n",
      "15 3\n",
      "000111100011001\n",
      "5 2\n",
      "01110\n",
      "8 1\n",
      "11110110\n",
      "7 2\n",
      "1101110\n",
      "6 3\n",
      "110110\n",
      "13 4\n",
      "0100110010000\n",
      "3 4\n",
      "011\n",
      "6 4\n",
      "010010\n",
      "13 1\n",
      "0010001111010\n",
      "4 3\n",
      "1110\n",
      "12 1\n",
      "000000100110\n",
      "3 1\n",
      "001\n",
      "3 2\n",
      "011\n",
      "12 2\n",
      "011111110001\n",
      "17 4\n",
      "00110000011110111\n",
      "19 4\n",
      "0001111000010010011\n",
      "15 4\n",
      "101011000001111\n",
      "19 1\n",
      "0111011011000000110\n",
      "18 1\n",
      "000010101100100010\n",
      "12 2\n",
      "000010101001\n",
      "2 3\n",
      "11\n",
      "13 4\n",
      "0011100110010\n",
      "20 3\n",
      "10110100111010111111\n",
      "6 3\n",
      "110001\n",
      "11 2\n",
      "10011011100\n",
      "18 4\n",
      "101010100011111111\n",
      "8 4\n",
      "00101101\n",
      "2 1\n",
      "10\n",
      "10 2\n",
      "1101011001\n",
      "12 1\n",
      "001000101100\n",
      "9 4\n",
      "101100010\n",
      "16 1\n",
      "0111011110110000\n",
      "6 3\n",
      "001011\n",
      "18 3\n",
      "011011000101110101\n",
      "13 3\n",
      "0000000100110\n",
      "9 3\n",
      "010001101\n",
      "11 4\n",
      "11000100001\n",
      "14 2\n",
      "11010110011100\n",
      "6 3\n",
      "101100\n",
      "14 2\n",
      "00111111100001\n",
      "15 2\n",
      "111010111010001\n",
      "14 2\n",
      "10011100000101\n",
      "13 1\n",
      "0100001110100\n",
      "16 2\n",
      "0100001011101101\n",
      "15 2\n",
      "010001001011001\n",
      "20 2\n",
      "10001001101111011011\n",
      "8 1\n",
      "10001011\n",
      "3 2\n",
      "111\n",
      "9 2\n",
      "101111100\n",
      "7 2\n",
      "1000001\n",
      "18 4\n",
      "110010001010111101\n",
      "3 1\n",
      "011\n",
      "20 2\n",
      "11101110110111101010\n",
      "8 3\n",
      "00010000\n",
      "4 2\n",
      "1101\n",
      "20 2\n",
      "01101100110011110000\n",
      "16 1\n",
      "0111111101011100\n",
      "17 3\n",
      "01101111001111100\n",
      "15 1\n",
      "101000010110011\n",
      "17 2\n",
      "00001001010111111\n",
      "9 1\n",
      "010111110\n",
      "2 2\n",
      "01\n",
      "13 3\n",
      "0110010110101\n",
      "17 4\n",
      "01000010011000110\n",
      "17 1\n",
      "01011000010111000\n",
      "8 2\n",
      "00100111\n",
      "6 1\n",
      "110010\n",
      "12 2\n",
      "010011011010\n",
      "4 4\n",
      "1010\n",
      "9 3\n",
      "101111000\n",
      "20 1\n",
      "01000100010101000101\n",
      "12 2\n",
      "011001000101\n",
      "15 2\n",
      "110100111010011\n",
      "6 2\n",
      "011101\n",
      "16 3\n",
      "1010001010101001\n",
      "19 4\n",
      "0011011101011110010\n",
      "17 4\n",
      "00101010000011000\n",
      "5 2\n",
      "00010\n",
      "11 2\n",
      "11011000111\n",
      "17 4\n",
      "01000101100000000\n",
      "3 3\n",
      "001\n",
      "15 4\n",
      "010010000101110\n",
      "9 1\n",
      "011101011\n",
      "17 1\n",
      "10011100111111011\n",
      "17 3\n",
      "11101011110010010\n",
      "16 1\n",
      "0100110010110011\n",
      "13 2\n",
      "1001110001110\n",
      "17 3\n",
      "00010011001001110\n",
      "19 2\n",
      "0100000010010010011\n",
      "10 1\n",
      "1111000110\n",
      "3 4\n",
      "101\n",
      "12 4\n",
      "111100011111\n",
      "4 1\n",
      "1010\n",
      "8 4\n",
      "11001011\n",
      "16 2\n",
      "1100110001101111\n",
      "5 2\n",
      "01010\n",
      "4 4\n",
      "1000\n",
      "16 3\n",
      "1110100010101000\n",
      "4 2\n",
      "1111\n",
      "15 2\n",
      "101000101011111\n",
      "17 2\n",
      "11101101001011101\n",
      "17 1\n",
      "11010110011111100\n",
      "9 3\n",
      "001101110\n",
      "16 4\n",
      "1000100010000010\n",
      "20 3\n",
      "00100001010101111011\n",
      "17 3\n",
      "10000010101110111\n",
      "2 4\n",
      "01\n",
      "13 4\n",
      "0011011010100\n",
      "11 2\n",
      "11001001010\n",
      "16 3\n",
      "0100001110111010\n",
      "20 1\n",
      "00000111110111000110\n",
      "10 1\n",
      "1010110000\n",
      "7 2\n",
      "0000111\n",
      "2 3\n",
      "10\n",
      "3 2\n",
      "100\n",
      "4 1\n",
      "0011\n",
      "3 2\n",
      "001\n",
      "18 1\n",
      "011110111110100110\n",
      "16 3\n",
      "1010100011000001\n",
      "19 3\n",
      "1100000111110101000\n",
      "11 2\n",
      "01101111001\n",
      "6 2\n",
      "001011\n",
      "11 3\n",
      "01000110110\n",
      "7 2\n",
      "1100100\n",
      "15 2\n",
      "100100101000100\n",
      "17 1\n",
      "00011000100110000\n",
      "15 3\n",
      "011010001110111\n",
      "18 3\n",
      "100111101010101011\n",
      "4 2\n",
      "0110\n",
      "7 4\n",
      "0011111\n",
      "14 2\n",
      "11101111101000\n",
      "11 1\n",
      "00001110100\n",
      "4 1\n",
      "1101\n",
      "20 2\n",
      "00000010111111100010\n",
      "6 4\n",
      "100010\n",
      "7 1\n",
      "1001011\n",
      "14 2\n",
      "01011111110001\n",
      "6 2\n",
      "011000\n",
      "2 4\n",
      "10\n",
      "13 2\n",
      "0011110101100\n",
      "3 4\n",
      "010\n",
      "2 3\n",
      "00\n",
      "20 1\n",
      "11011001111110101000\n",
      "2 3\n",
      "01\n",
      "15 2\n",
      "010000010011100\n",
      "10 2\n",
      "1100110111\n",
      "17 2\n",
      "01100001101110010\n",
      "12 2\n",
      "010100110100\n",
      "15 2\n",
      "011110010100101\n",
      "19 3\n",
      "0111110101111110001\n",
      "9 4\n",
      "100111000\n",
      "5 3\n",
      "11110\n",
      "7 2\n",
      "1100010\n",
      "8 1\n",
      "10101010\n",
      "12 4\n",
      "101011111010\n",
      "3 2\n",
      "000\n",
      "7 4\n",
      "1110001\n",
      "12 2\n",
      "110111000010\n",
      "10 1\n",
      "1111100111\n",
      "3 1\n",
      "110\n",
      "17 4\n",
      "01001010100111111\n",
      "17 3\n",
      "00100110111000110\n",
      "10 2\n",
      "1101010111\n",
      "15 2\n",
      "101111000010111\n",
      "7 1\n",
      "0001100\n",
      "10 2\n",
      "0001001001\n",
      "9 2\n",
      "001110100\n",
      "10 2\n",
      "1101001110\n",
      "6 4\n",
      "011101\n",
      "14 1\n",
      "10100110010111\n",
      "19 1\n",
      "0010100010001110010\n",
      "19 4\n",
      "0110010110010111111\n",
      "17 3\n",
      "01010000000101101\n",
      "20 3\n",
      "01101011010101011110\n",
      "8 3\n",
      "10100010\n",
      "6 1\n",
      "001000\n",
      "12 4\n",
      "010000101010\n",
      "8 1\n",
      "11111110\n",
      "7 2\n",
      "1101101\n",
      "14 3\n",
      "01001101001101\n",
      "15 4\n",
      "000101000011001\n",
      "12 2\n",
      "001100110010\n",
      "20 4\n",
      "11111010011100101111\n",
      "20 3\n",
      "10010000110001000010\n",
      "19 3\n",
      "1000010100101010011\n",
      "5 4\n",
      "11010\n",
      "17 4\n",
      "11000010110011110\n",
      "14 1\n",
      "11101100100000\n",
      "18 4\n",
      "110100111011100011\n",
      "19 1\n",
      "0010101110100110001\n",
      "9 2\n",
      "100101111\n",
      "18 1\n",
      "100011010010111010\n",
      "15 1\n",
      "010010100010100\n",
      "2 4\n",
      "01\n",
      "4 3\n",
      "0100\n",
      "8 4\n",
      "01010011\n",
      "14 3\n",
      "00001011001111\n",
      "4 4\n",
      "0010\n",
      "8 1\n",
      "01111100\n",
      "13 2\n",
      "1000001101001\n",
      "8 1\n",
      "11100101\n",
      "7 4\n",
      "0101011\n",
      "17 1\n",
      "10110101000110010\n",
      "2 4\n",
      "01\n",
      "6 4\n",
      "110011\n",
      "10 2\n",
      "1011010010\n",
      "18 4\n",
      "010100011011000011\n",
      "18 1\n",
      "010110110111111111\n",
      "20 2\n",
      "11011110010110011011\n",
      "6 3\n",
      "000000\n",
      "20 4\n",
      "01100111101011000010\n",
      "15 3\n",
      "110111010100001\n",
      "10 2\n",
      "1101010100\n",
      "20 3\n",
      "11101011001000101111\n",
      "8 2\n",
      "11100101\n",
      "18 2\n",
      "100011110100100111\n",
      "11 2\n",
      "11111010110\n",
      "9 4\n",
      "100000100\n",
      "4 3\n",
      "0001\n",
      "3 3\n",
      "010\n",
      "3 4\n",
      "110\n",
      "5 3\n",
      "11100\n",
      "5 2\n",
      "11010\n",
      "13 4\n",
      "0110101111000\n",
      "12 2\n",
      "100001101101\n",
      "12 2\n",
      "110010111100\n",
      "9 4\n",
      "000010111\n",
      "2 4\n",
      "00\n",
      "11 2\n",
      "10101111100\n",
      "6 3\n",
      "100000\n",
      "13 1\n",
      "1000001111010\n",
      "14 1\n",
      "00000101011110\n",
      "14 1\n",
      "11011110000010\n",
      "4 3\n",
      "1100\n",
      "7 3\n",
      "0011110\n",
      "9 3\n",
      "100101001\n",
      "9 3\n",
      "111100111\n",
      "9 1\n",
      "100011101\n",
      "17 1\n",
      "11101001001011110\n",
      "8 2\n",
      "11110101\n",
      "11 1\n",
      "11000000111\n",
      "9 3\n",
      "000011011\n",
      "14 4\n",
      "00101011000101\n",
      "6 2\n",
      "010111\n",
      "17 3\n",
      "00000110110010110\n",
      "19 1\n",
      "0110101001111000100\n",
      "2 2\n",
      "10\n",
      "15 1\n",
      "001101001101111\n",
      "14 2\n",
      "11010101010011\n",
      "17 2\n",
      "00001001010100111\n",
      "18 4\n",
      "111110001100100110\n",
      "15 2\n",
      "011110001110111\n",
      "4 4\n",
      "1001\n",
      "19 1\n",
      "1111111000111100111\n",
      "6 1\n",
      "111110\n",
      "15 1\n",
      "100111010000100\n",
      "20 4\n",
      "01100011001101001001\n",
      "14 2\n",
      "10110100010110\n",
      "10 2\n",
      "1111111010\n",
      "10 1\n",
      "1000101101\n",
      "15 1\n",
      "000000001100110\n",
      "4 1\n",
      "1111\n",
      "4 3\n",
      "1111\n",
      "15 1\n",
      "011100110110000\n",
      "6 3\n",
      "010000\n",
      "3 4\n",
      "110\n",
      "10 4\n",
      "1000011001\n",
      "19 1\n",
      "1101100100100100101\n",
      "10 4\n",
      "0000011011\n",
      "3 2\n",
      "110\n",
      "19 1\n",
      "1010011100011101100\n",
      "10 2\n",
      "0011101010\n",
      "4 1\n",
      "1011\n",
      "7 3\n",
      "0010110\n",
      "7 1\n",
      "1000101\n",
      "20 1\n",
      "00100000011110011100\n",
      "9 4\n",
      "001100001\n",
      "8 3\n",
      "10100111\n",
      "6 4\n",
      "010111\n",
      "18 2\n",
      "011100101100011100\n",
      "13 2\n",
      "1110101011001\n",
      "9 3\n",
      "001000111\n",
      "16 4\n",
      "1000000110001111\n",
      "12 3\n",
      "011011111101\n",
      "2 4\n",
      "01\n",
      "4 4\n",
      "0100\n",
      "18 4\n",
      "101101001011100100\n",
      "10 2\n",
      "1101010101\n",
      "11 3\n",
      "00100001111\n",
      "20 4\n",
      "11011001110001101011\n",
      "2 2\n",
      "11\n",
      "6 1\n",
      "001100\n",
      "3 4\n",
      "011\n",
      "17 4\n",
      "01011111000100110\n",
      "11 1\n",
      "00101101101\n",
      "20 2\n",
      "10100011111110010001\n",
      "16 2\n",
      "1011010110010111\n",
      "20 2\n",
      "01100011001101011101\n",
      "4 2\n",
      "0110\n",
      "11 1\n",
      "10110110011\n",
      "7 2\n",
      "1010111\n",
      "3 3\n",
      "010\n",
      "20 1\n",
      "01000011011100100101\n",
      "20 2\n",
      "01110010111100100001\n",
      "3 3\n",
      "111\n",
      "17 3\n",
      "01111111010010111\n",
      "11 2\n",
      "11010000011\n",
      "6 2\n",
      "101100\n",
      "18 2\n",
      "111010101111000100\n",
      "16 3\n",
      "0111010001100011\n",
      "3 1\n",
      "001\n",
      "2 1\n",
      "01\n",
      "9 3\n",
      "101100110\n",
      "13 4\n",
      "1001001001110\n",
      "19 1\n",
      "0110100000101100011\n",
      "3 4\n",
      "010\n",
      "20 2\n",
      "10100010101010101011\n",
      "15 1\n",
      "001001010001010\n",
      "2 2\n",
      "11\n",
      "12 1\n",
      "100011111110\n",
      "16 3\n",
      "1100001010110000\n",
      "8 2\n",
      "01010111\n",
      "19 2\n",
      "0011011110110010010\n",
      "13 1\n",
      "0000110000100\n",
      "20 1\n",
      "01110011001010000100\n",
      "12 3\n",
      "111101000100\n",
      "9 1\n",
      "101101110\n",
      "11 2\n",
      "10001010010\n",
      "6 2\n",
      "101100\n",
      "8 2\n",
      "11100110\n",
      "13 2\n",
      "0011010101001\n",
      "9 2\n",
      "000110010\n",
      "4 4\n",
      "0000\n",
      "10 3\n",
      "0001010000\n",
      "16 3\n",
      "0110010011101100\n",
      "3 4\n",
      "111\n",
      "13 3\n",
      "0001110000101\n",
      "19 2\n",
      "0001010010011001101\n",
      "6 2\n",
      "000111\n",
      "8 1\n",
      "11000100\n",
      "5 3\n",
      "00101\n",
      "6 4\n",
      "100101\n",
      "20 2\n",
      "01100000110001111000\n",
      "6 3\n",
      "010101\n",
      "10 4\n",
      "1100110010\n",
      "14 4\n",
      "00111100111101\n",
      "18 2\n",
      "001010000110110011\n",
      "20 1\n",
      "11001011110101100111\n",
      "18 4\n",
      "001101101111101101\n",
      "4 1\n",
      "1101\n",
      "9 4\n",
      "010100000\n",
      "19 4\n",
      "1111000010101101111\n",
      "17 1\n",
      "10010001010110101\n",
      "12 3\n",
      "110110111011\n",
      "3 1\n",
      "000\n",
      "3 3\n",
      "011\n",
      "6 2\n",
      "111010\n",
      "7 4\n",
      "0111011\n",
      "11 4\n",
      "10100011011\n",
      "16 3\n",
      "0101110010011000\n",
      "13 2\n",
      "0001101000110\n",
      "2 1\n",
      "00\n",
      "8 4\n",
      "00010001\n",
      "15 2\n",
      "100010100111111\n",
      "9 2\n",
      "100010111\n",
      "18 2\n",
      "110011110010101010\n",
      "12 1\n",
      "111010101100\n",
      "18 3\n",
      "010100011101000111\n",
      "5 4\n",
      "10111\n",
      "9 3\n",
      "101001000\n",
      "6 4\n",
      "110000\n",
      "17 2\n",
      "00101101001110010\n",
      "18 2\n",
      "010110100010010100\n",
      "17 4\n",
      "01111100101001001\n",
      "17 3\n",
      "11111011010010000\n",
      "5 3\n",
      "11000\n",
      "3 1\n",
      "000\n",
      "9 4\n",
      "011010110\n",
      "11 1\n",
      "11011111010\n",
      "20 2\n",
      "10011000001101111011\n",
      "15 1\n",
      "100011001010000\n",
      "17 1\n",
      "00111001000000011\n",
      "19 4\n",
      "0111001001010011011\n",
      "3 4\n",
      "011\n",
      "20 4\n",
      "00100110100110110111\n",
      "9 3\n",
      "100101110\n",
      "5 2\n",
      "11101\n",
      "13 4\n",
      "0011101111011\n",
      "10 3\n",
      "1100000001\n",
      "16 2\n",
      "0010011010001010\n",
      "18 1\n",
      "001110011011101011\n",
      "2 1\n",
      "01\n",
      "19 3\n",
      "0010011011001011101\n",
      "8 3\n",
      "00111011\n",
      "6 2\n",
      "000000\n",
      "19 4\n",
      "1100011000000001101\n",
      "7 1\n",
      "0010101\n",
      "13 1\n",
      "0111001010001\n",
      "9 1\n",
      "100111010\n",
      "17 4\n",
      "01111101111011011\n",
      "7 1\n",
      "0101000\n",
      "3 2\n",
      "100\n",
      "11 3\n",
      "00001100100\n",
      "14 3\n",
      "00001011101111\n",
      "3 4\n",
      "100\n",
      "15 3\n",
      "001110110111100\n",
      "11 1\n",
      "01010110101\n",
      "16 4\n",
      "1001000000001000\n",
      "11 1\n",
      "10010100000\n",
      "10 2\n",
      "1011111010\n",
      "2 4\n",
      "10\n",
      "8 2\n",
      "10001000\n",
      "7 1\n",
      "0111001\n",
      "7 1\n",
      "1010110\n",
      "11 3\n",
      "00100001100\n",
      "10 1\n",
      "1011001110\n",
      "9 3\n",
      "111101000\n",
      "15 4\n",
      "111010010100110\n",
      "10 3\n",
      "0100011101\n",
      "17 4\n",
      "00111000111100011\n",
      "4 4\n",
      "1000\n",
      "2 3\n",
      "00\n",
      "2 4\n",
      "00\n",
      "11 2\n",
      "11010011111\n",
      "17 4\n",
      "10011011010110011\n",
      "2 3\n",
      "00\n",
      "11 1\n",
      "00100111110\n",
      "9 1\n",
      "001101001\n",
      "17 1\n",
      "10111110101001011\n",
      "6 4\n",
      "000011\n",
      "19 2\n",
      "1101000110100101101\n",
      "4 3\n",
      "1000\n",
      "10 2\n",
      "0011010111\n",
      "9 4\n",
      "010101101\n",
      "12 1\n",
      "000100000101\n",
      "3 1\n",
      "001\n",
      "19 1\n",
      "0001110110101001111\n",
      "6 3\n",
      "010111\n",
      "6 2\n",
      "001000\n",
      "9 4\n",
      "010010000\n",
      "18 1\n",
      "100011110101011000\n",
      "10 3\n",
      "0000110111\n",
      "18 2\n",
      "001110010110110010\n",
      "16 2\n",
      "0100111111010110\n",
      "16 1\n",
      "1101001101100101\n",
      "4 1\n",
      "0000\n",
      "8 2\n",
      "11100111\n",
      "15 1\n",
      "001010000010100\n",
      "14 1\n",
      "10101001101000\n",
      "13 4\n",
      "0000110001100\n",
      "3 1\n",
      "111\n",
      "13 4\n",
      "1101001000001\n",
      "16 3\n",
      "0101100011110001\n",
      "18 3\n",
      "000111110000111000\n",
      "11 2\n",
      "10010001011\n",
      "9 1\n",
      "011010011\n",
      "19 4\n",
      "0111100011111011100\n",
      "17 4\n",
      "10011010001100110\n",
      "7 4\n",
      "1100111\n",
      "5 4\n",
      "01110\n",
      "9 3\n",
      "101000000\n",
      "12 3\n",
      "000100010101\n",
      "2 3\n",
      "11\n",
      "11 4\n",
      "00000010011\n",
      "12 2\n",
      "001011111011\n",
      "3 4\n",
      "101\n",
      "4 2\n",
      "0001\n",
      "5 3\n",
      "11101\n",
      "5 3\n",
      "10000\n",
      "6 2\n",
      "001100\n",
      "3 1\n",
      "011\n",
      "17 1\n",
      "01000110110000111\n",
      "7 1\n",
      "0101000\n",
      "2 4\n",
      "01\n",
      "14 2\n",
      "10011011000110\n",
      "9 1\n",
      "101101101\n",
      "7 4\n",
      "1111011\n",
      "15 1\n",
      "000100111011000\n",
      "6 1\n",
      "010010\n",
      "6 1\n",
      "001111\n",
      "2 4\n",
      "00\n",
      "3 4\n",
      "110\n",
      "11 4\n",
      "01111011110\n",
      "9 3\n",
      "011001000\n",
      "11 3\n",
      "01011001010\n",
      "11 3\n",
      "10010010100\n",
      "6 1\n",
      "110110\n",
      "4 3\n",
      "0001\n",
      "5 1\n",
      "10001\n",
      "2 3\n",
      "11\n",
      "9 3\n",
      "011001010\n",
      "18 4\n",
      "100101110101011000\n",
      "18 1\n",
      "100100111100110011\n",
      "18 2\n",
      "100111001110011000\n",
      "11 3\n",
      "00001111010\n",
      "9 4\n",
      "010110000\n",
      "10 1\n",
      "0111001101\n",
      "17 1\n",
      "01001111001000001\n",
      "9 2\n",
      "000011010\n",
      "9 2\n",
      "001110001\n",
      "9 2\n",
      "100110110\n",
      "3 3\n",
      "111\n",
      "4 1\n",
      "1011\n",
      "2 2\n",
      "10\n",
      "6 1\n",
      "010111\n",
      "18 3\n",
      "010101110100000010\n",
      "12 1\n",
      "001110100000\n",
      "14 3\n",
      "11101110100011\n",
      "17 2\n",
      "10100000010110110\n",
      "16 4\n",
      "0000101110100011\n",
      "18 2\n",
      "110010010010110011\n",
      "11 1\n",
      "11000110111\n",
      "8 1\n",
      "11101111\n",
      "15 3\n",
      "100000001010101\n",
      "10 1\n",
      "1010110010\n",
      "16 1\n",
      "0101000111010001\n",
      "15 1\n",
      "101110101101100\n",
      "19 3\n",
      "0011100000100000001\n",
      "6 2\n",
      "010100\n",
      "15 4\n",
      "101101111000110\n",
      "2 3\n",
      "11\n",
      "15 1\n",
      "011011110010111\n",
      "13 2\n",
      "0100111001110\n",
      "18 1\n",
      "010011100000111100\n",
      "7 1\n",
      "0101000\n",
      "3 1\n",
      "011\n",
      "17 4\n",
      "10000110001110101\n",
      "10 3\n",
      "1010001111\n",
      "9 1\n",
      "111011001\n",
      "13 2\n",
      "1011010001011\n",
      "15 4\n",
      "000011111110110\n",
      "11 1\n",
      "11101011100\n",
      "3 4\n",
      "101\n",
      "5 4\n",
      "10100\n",
      "8 4\n",
      "01010001\n",
      "14 2\n",
      "10010111011110\n",
      "16 2\n",
      "1101010010111100\n",
      "2 3\n",
      "10\n",
      "17 4\n",
      "10100011110100010\n",
      "6 2\n",
      "100011\n",
      "10 2\n",
      "0100001110\n",
      "13 1\n",
      "1110010001100\n",
      "14 3\n",
      "01110111101110\n",
      "2 4\n",
      "11\n",
      "7 3\n",
      "1011100\n",
      "17 2\n",
      "11100110000100111\n",
      "2 1\n",
      "01\n",
      "19 3\n",
      "1000110011101110100\n",
      "3 1\n",
      "101\n",
      "7 3\n",
      "1000011\n",
      "8 2\n",
      "10001110\n",
      "20 1\n",
      "10001011000110000110\n",
      "15 4\n",
      "011000000100100\n",
      "11 3\n",
      "10110001010\n",
      "11 3\n",
      "01111011001\n",
      "5 1\n",
      "10111\n",
      "16 1\n",
      "1010111001000101\n",
      "8 3\n",
      "00010111\n",
      "15 2\n",
      "110101111101100\n",
      "10 2\n",
      "1110001011\n",
      "7 2\n",
      "1100010\n",
      "15 2\n",
      "101101101111110\n",
      "18 3\n",
      "000111110111101000\n",
      "12 2\n",
      "101011101100\n",
      "17 1\n",
      "10001001011101000\n",
      "2 2\n",
      "11\n",
      "5 1\n",
      "00100\n",
      "15 4\n",
      "111100110101011\n",
      "11 1\n",
      "00001110101\n",
      "13 2\n",
      "1011100110101\n",
      "5 3\n",
      "01000\n",
      "9 2\n",
      "000001111\n",
      "15 1\n",
      "011101010100010\n",
      "13 3\n",
      "0100000010000\n",
      "7 4\n",
      "1001110\n",
      "4 2\n",
      "1110\n",
      "12 4\n",
      "100000110011\n",
      "16 4\n",
      "0010100111011011\n",
      "14 2\n",
      "11000001010100\n",
      "16 1\n",
      "0110011010001011\n",
      "20 4\n",
      "10110110010101100111\n",
      "14 3\n",
      "11110001111011\n",
      "8 1\n",
      "10011000\n",
      "10 3\n",
      "1010101011\n",
      "11 4\n",
      "01010101001\n",
      "15 1\n",
      "110100111001010\n",
      "14 2\n",
      "00100000010000\n",
      "9 2\n",
      "010010010\n",
      "7 4\n",
      "0100001\n",
      "8 4\n",
      "01101111\n",
      "20 2\n",
      "00100001010111001111\n",
      "4 2\n",
      "1101\n",
      "3 4\n",
      "110\n",
      "15 2\n",
      "110001101111101\n",
      "2 2\n",
      "11\n",
      "2 1\n",
      "00\n",
      "10 2\n",
      "0110001010\n",
      "16 1\n",
      "1010001000001110\n",
      "9 1\n",
      "001001000\n",
      "4 1\n",
      "0101\n",
      "17 4\n",
      "01111011111111011\n",
      "16 4\n",
      "0010100111000101\n",
      "18 1\n",
      "011000110011000000\n",
      "11 4\n",
      "00010100100\n",
      "19 1\n",
      "0111000011110001100\n",
      "16 2\n",
      "0100100100010101\n",
      "11 2\n",
      "10001100100\n",
      "14 4\n",
      "10110010010100\n",
      "14 3\n",
      "10010100000001\n",
      "11 3\n",
      "11000100001\n",
      "4 3\n",
      "0110\n",
      "4 4\n",
      "0100\n",
      "3 2\n",
      "001\n",
      "17 1\n",
      "11000001111010111\n",
      "11 1\n",
      "10010010000\n",
      "11 2\n",
      "11100100001\n",
      "7 4\n",
      "0011001\n",
      "5 3\n",
      "01111\n",
      "16 1\n",
      "0001010011001001\n",
      "8 3\n",
      "11011110\n",
      "17 1\n",
      "00000000110001100\n",
      "9 2\n",
      "111110000\n",
      "8 3\n",
      "10001100\n",
      "7 2\n",
      "1011101\n",
      "12 2\n",
      "101110000100\n",
      "19 3\n",
      "1111010001110000001\n",
      "9 3\n",
      "001010001\n",
      "14 4\n",
      "11111001100001\n",
      "3 3\n",
      "101\n",
      "13 3\n",
      "0111010100110\n",
      "15 4\n",
      "000100111011011\n",
      "5 1\n",
      "10010\n",
      "20 3\n",
      "00111110111010000110\n",
      "7 1\n",
      "0010101\n",
      "11 4\n",
      "10111011101\n",
      "15 4\n",
      "100001101001111\n",
      "16 1\n",
      "1101111001111111\n",
      "19 1\n",
      "0110101000100000000\n",
      "7 3\n",
      "1100111\n",
      "17 2\n",
      "10011100111110010\n",
      "17 2\n",
      "11100011110100100\n",
      "7 1\n",
      "0110010\n",
      "20 2\n",
      "11010110111011100000\n",
      "8 4\n",
      "11111001\n",
      "5 3\n",
      "01100\n",
      "13 1\n",
      "0111000110110\n",
      "5 2\n",
      "10101\n",
      "13 3\n",
      "0111010100010\n",
      "19 3\n",
      "0011110011010110010\n",
      "5 3\n",
      "00000\n",
      "9 1\n",
      "010100110\n",
      "11 2\n",
      "00000001111\n",
      "11 2\n",
      "01111100100\n",
      "5 3\n",
      "10110\n",
      "16 1\n",
      "1110110110100000\n",
      "3 2\n",
      "001\n",
      "20 3\n",
      "10010001110110100101\n",
      "19 1\n",
      "0111000111010010111\n",
      "9 1\n",
      "101001111\n",
      "18 4\n",
      "100111000111010000\n",
      "8 3\n",
      "01001010\n",
      "12 1\n",
      "101111111001\n",
      "12 1\n",
      "110111010000\n",
      "5 1\n",
      "00101\n",
      "2 2\n",
      "00\n",
      "2 1\n",
      "01\n",
      "10 3\n",
      "1000110010\n",
      "19 1\n",
      "0010011010001110111\n",
      "6 3\n",
      "011101\n",
      "10 1\n",
      "0001001111\n",
      "20 1\n",
      "00011101101101110100\n",
      "17 4\n",
      "00001001011010011\n",
      "15 4\n",
      "101100001000101\n",
      "4 2\n",
      "1011\n",
      "5 4\n",
      "01000\n",
      "17 1\n",
      "00101001000001011\n",
      "9 2\n",
      "111110011\n",
      "19 2\n",
      "1000110111100111001\n",
      "18 4\n",
      "101100101101001111\n",
      "13 4\n",
      "1111010110011\n",
      "10 2\n",
      "0010011100\n",
      "7 3\n",
      "0011111\n",
      "17 1\n",
      "11100011000010001\n",
      "4 4\n",
      "1111\n",
      "11 1\n",
      "01111101000\n",
      "10 3\n",
      "1100100100\n",
      "8 2\n",
      "00010101\n",
      "17 2\n",
      "00010110111001100\n",
      "6 2\n",
      "001100\n",
      "19 4\n",
      "0011111000011101001\n",
      "7 2\n",
      "0111011\n",
      "19 1\n",
      "1010101101110000001\n",
      "4 4\n",
      "1100\n",
      "11 1\n",
      "11010111110\n",
      "8 3\n",
      "00110111\n",
      "17 1\n",
      "01101001011110011\n",
      "12 1\n",
      "000001010101\n",
      "3 4\n",
      "110\n",
      "9 4\n",
      "001101101\n",
      "18 4\n",
      "011100010010101011\n",
      "10 3\n",
      "0001000101\n",
      "5 4\n",
      "00111\n",
      "10 1\n",
      "0111001011\n",
      "10 3\n",
      "1110001110\n",
      "18 3\n",
      "100100011110101010\n",
      "12 1\n",
      "001111111001\n",
      "4 1\n",
      "1010\n",
      "13 2\n",
      "1001101100101\n",
      "19 3\n",
      "0000010011001110001\n",
      "8 4\n",
      "11101011\n",
      "17 1\n",
      "11100001110110110\n",
      "18 3\n",
      "101110010110011000\n",
      "2 4\n",
      "11\n",
      "4 3\n",
      "0001\n",
      "6 2\n",
      "110110\n",
      "12 3\n",
      "000001001100\n",
      "17 1\n",
      "01011010010101010\n",
      "16 4\n",
      "0110000101100111\n",
      "3 4\n",
      "110\n",
      "2 3\n",
      "10\n",
      "19 2\n",
      "1011001101110100011\n",
      "3 3\n",
      "001\n",
      "20 2\n",
      "00000010010001100001\n",
      "3 3\n",
      "010\n",
      "10 3\n",
      "0110101000\n",
      "2 4\n",
      "00\n",
      "19 4\n",
      "0100100101110110100\n",
      "14 3\n",
      "10110101111100\n",
      "9 4\n",
      "111101111\n",
      "15 3\n",
      "000100100011101\n",
      "8 2\n",
      "00001010\n",
      "5 4\n",
      "10010\n",
      "2 2\n",
      "11\n",
      "6 3\n",
      "000011\n",
      "5 3\n",
      "00001\n",
      "4 1\n",
      "0111\n",
      "15 3\n",
      "110110100111101\n",
      "12 4\n",
      "100011000011\n",
      "16 2\n",
      "0101100011100101\n",
      "6 3\n",
      "011010\n",
      "6 3\n",
      "101110\n",
      "20 3\n",
      "10110110100010110100\n",
      "15 1\n",
      "001011001010100\n",
      "16 4\n",
      "1000010101000010\n",
      "17 1\n",
      "10001110110010110\n",
      "12 3\n",
      "010100011101\n",
      "17 1\n",
      "11010001011000001\n",
      "11 4\n",
      "01110011111\n",
      "9 1\n",
      "010010110\n",
      "20 2\n",
      "10001111001000000000\n",
      "11 2\n",
      "00111101110\n",
      "11 4\n",
      "01111101101\n",
      "6 4\n",
      "011010\n",
      "16 3\n",
      "1011110001001110\n",
      "10 1\n",
      "1001101000\n",
      "11 3\n",
      "01010110011\n",
      "19 2\n",
      "0001110010101100100\n",
      "20 4\n",
      "00111101110011101101\n",
      "17 1\n",
      "01110000000100010\n",
      "7 2\n",
      "1111111\n",
      "8 2\n",
      "11001101\n",
      "6 2\n",
      "100000\n",
      "4 2\n",
      "1111\n",
      "20 2\n",
      "00110101100010011100\n",
      "16 1\n",
      "0101001101111110\n",
      "18 2\n",
      "001100110101101100\n",
      "12 4\n",
      "000100101011\n",
      "19 1\n",
      "1111111111011001000\n",
      "3 1\n",
      "001\n",
      "15 1\n",
      "111100111111101\n",
      "8 3\n",
      "11010011\n",
      "20 1\n",
      "01101111011001000100\n",
      "18 2\n",
      "000000101111011100\n",
      "20 3\n",
      "01110100010100010100\n",
      "20 1\n",
      "10101001010010111000\n",
      "6 2\n",
      "011010\n",
      "5 4\n",
      "01101\n",
      "4 1\n",
      "1111\n",
      "13 4\n",
      "1110101011101\n",
      "14 1\n",
      "01101110010001\n",
      "3 1\n",
      "111\n",
      "2 1\n",
      "10\n",
      "6 3\n",
      "101110\n",
      "18 2\n",
      "101001010100100011\n",
      "3 3\n",
      "010\n",
      "14 1\n",
      "10001001001011\n",
      "18 3\n",
      "110001111011000011\n",
      "6 2\n",
      "110011\n",
      "7 4\n",
      "0011111\n",
      "17 3\n",
      "00111111011101011\n",
      "4 4\n",
      "0010\n",
      "14 1\n",
      "11001010001011\n",
      "19 4\n",
      "0100110110111011010\n",
      "9 1\n",
      "111001110\n",
      "2 3\n",
      "10\n",
      "4 1\n",
      "1011\n",
      "10 4\n",
      "1011011111\n",
      "12 2\n",
      "010000111111\n",
      "18 4\n",
      "100111011010001111\n",
      "8 2\n",
      "11010100\n",
      "15 2\n",
      "110100001001000\n",
      "12 1\n",
      "010110010010\n",
      "6 3\n",
      "111000\n",
      "17 4\n",
      "01010101111110010\n",
      "13 3\n",
      "1110011101110\n",
      "17 4\n",
      "11010101110100100\n",
      "4 2\n",
      "0001\n",
      "9 3\n",
      "110001001\n",
      "18 1\n",
      "110000100010111100\n",
      "15 2\n",
      "001100110000111\n",
      "14 4\n",
      "01110101000000\n",
      "16 4\n",
      "0001101000110100\n",
      "17 2\n",
      "01111001010011000\n",
      "18 2\n",
      "110011000011100010\n",
      "19 1\n",
      "0010100001101011101\n",
      "3 2\n",
      "011\n",
      "6 4\n",
      "011011\n",
      "20 3\n",
      "00101101100110100100\n",
      "6 2\n",
      "000001\n",
      "2 4\n",
      "00\n",
      "17 4\n",
      "10011000100111011\n",
      "5 4\n",
      "00001\n",
      "15 1\n",
      "100000111001001\n",
      "6 1\n",
      "101110\n",
      "3 3\n",
      "101\n",
      "16 1\n",
      "0110110011110111\n",
      "10 1\n",
      "1110110011\n",
      "14 1\n",
      "11000100000101\n",
      "14 1\n",
      "00000100000000\n",
      "9 4\n",
      "000110101\n",
      "6 1\n",
      "010111\n",
      "3 4\n",
      "010\n",
      "5 1\n",
      "00001\n",
      "12 4\n",
      "001000000000\n",
      "20 3\n",
      "10000101011100000001\n",
      "15 3\n",
      "100011011000000\n",
      "6 4\n",
      "110100\n",
      "7 1\n",
      "0001111\n",
      "12 2\n",
      "100100001000\n",
      "12 4\n",
      "000001101000\n",
      "6 3\n",
      "010100\n",
      "19 2\n",
      "0001111111110011010\n",
      "4 2\n",
      "1010\n",
      "7 1\n",
      "0100110\n",
      "2 3\n",
      "11\n",
      "19 4\n",
      "1010010000101111110\n",
      "3 2\n",
      "110\n",
      "9 3\n",
      "000101010\n",
      "18 4\n",
      "101011010110100000\n",
      "5 1\n",
      "10111\n",
      "9 4\n",
      "111101000\n",
      "13 4\n",
      "0111110000001\n",
      "2 3\n",
      "11\n",
      "2 3\n",
      "00\n",
      "8 1\n",
      "11011111\n",
      "13 4\n",
      "1110101001110\n",
      "18 2\n",
      "001001100110111101\n",
      "8 3\n",
      "00000100\n",
      "18 3\n",
      "010110101001101111\n",
      "3 2\n",
      "001\n",
      "4 1\n",
      "1001\n",
      "5 2\n",
      "10001\n",
      "15 1\n",
      "100010011101011\n",
      "10 4\n",
      "1001101010\n",
      "18 4\n",
      "001100010101000011\n",
      "16 4\n",
      "0101111001011010\n",
      "8 1\n",
      "11000011\n",
      "2 3\n",
      "10\n",
      "8 4\n",
      "00100011\n",
      "5 4\n",
      "10100\n",
      "9 3\n",
      "111001110\n",
      "15 1\n",
      "000010001011000\n",
      "20 1\n",
      "01010111010001000001\n",
      "6 3\n",
      "101011\n",
      "12 4\n",
      "100001011011\n",
      "2 1\n",
      "01\n",
      "15 3\n",
      "011010111101100\n",
      "14 2\n",
      "11011100011101\n",
      "11 3\n",
      "10001110010\n",
      "7 4\n",
      "0000111\n",
      "10 4\n",
      "0001110100\n",
      "2 4\n",
      "00\n",
      "6 1\n",
      "111110\n",
      "2 1\n",
      "10\n",
      "2 3\n",
      "00\n",
      "4 3\n",
      "0101\n",
      "19 1\n",
      "0011111010100001100\n",
      "9 2\n",
      "000011010\n",
      "3 2\n",
      "100\n",
      "12 2\n",
      "010001000110\n",
      "20 1\n",
      "01100001111100000100\n",
      "11 3\n",
      "01101011000\n",
      "20 4\n",
      "01010110110001011000\n",
      "5 2\n",
      "00111\n",
      "2 1\n",
      "00\n",
      "11 4\n",
      "01110100111\n",
      "11 3\n",
      "00010111010\n",
      "16 1\n",
      "0001000011111100\n",
      "7 3\n",
      "1110110\n",
      "4 4\n",
      "1010\n",
      "18 2\n",
      "010011101000011110\n",
      "4 2\n",
      "0110\n",
      "4 2\n",
      "0010\n",
      "12 1\n",
      "000000001101\n",
      "18 3\n",
      "001000101011111010\n",
      "20 2\n",
      "10110010101101000111\n",
      "17 1\n",
      "01100110010010110\n",
      "16 4\n",
      "1001100001101110\n",
      "7 2\n",
      "0001000\n",
      "15 4\n",
      "111111111001001\n",
      "14 4\n",
      "01001110011100\n",
      "10 3\n",
      "1101001000\n",
      "2 1\n",
      "01\n",
      "19 2\n",
      "1010100010110111111\n",
      "6 1\n",
      "011101\n",
      "10 3\n",
      "0010111101\n",
      "20 1\n",
      "01000111111101111101\n",
      "11 4\n",
      "01110100010\n",
      "7 3\n",
      "1111010\n",
      "7 2\n",
      "0100001\n",
      "8 3\n",
      "00000001\n",
      "12 3\n",
      "100001101001\n",
      "6 4\n",
      "001111\n",
      "20 4\n",
      "00111111000110010011\n",
      "15 2\n",
      "100011110101100\n",
      "18 1\n",
      "010111010000001011\n",
      "20 1\n",
      "00011000101101011011\n",
      "12 4\n",
      "101010100011\n",
      "20 1\n",
      "00001010111001011001\n",
      "18 2\n",
      "101100000111001010\n",
      "20 1\n",
      "10000000100101010010\n",
      "20 1\n",
      "01010011110001010110\n",
      "7 3\n",
      "1011100\n",
      "18 1\n",
      "011010010000011101\n",
      "18 4\n",
      "111001001010100010\n",
      "13 4\n",
      "0001001010111\n",
      "11 2\n",
      "00111001000\n",
      "8 1\n",
      "11010001\n",
      "12 3\n",
      "101101000010\n",
      "12 2\n",
      "111110001010\n",
      "3 1\n",
      "100\n",
      "8 3\n",
      "00111001\n",
      "11 4\n",
      "10001001010\n",
      "18 3\n",
      "001101010111001110\n",
      "5 3\n",
      "11100\n",
      "12 2\n",
      "010101110100\n",
      "18 4\n",
      "111101111101001110\n",
      "5 3\n",
      "00000\n",
      "15 3\n",
      "001011100001001\n",
      "19 4\n",
      "0001101100000100101\n",
      "5 3\n",
      "10101\n",
      "7 1\n",
      "1110111\n",
      "7 1\n",
      "0010110\n",
      "14 3\n",
      "01101111011100\n",
      "3 3\n",
      "100\n",
      "8 4\n",
      "11100111\n",
      "2 3\n",
      "11\n",
      "20 2\n",
      "00011110100100010001\n",
      "4 2\n",
      "0111\n",
      "12 1\n",
      "101011001110\n",
      "19 4\n",
      "0011111000100011110\n",
      "9 3\n",
      "000010010\n",
      "13 1\n",
      "1110101011110\n",
      "12 4\n",
      "101110101000\n",
      "10 3\n",
      "1101011011\n",
      "17 4\n",
      "01000011011001101\n",
      "3 4\n",
      "000\n",
      "11 1\n",
      "00111011100\n",
      "10 3\n",
      "1110111011\n",
      "4 1\n",
      "0001\n",
      "10 4\n",
      "1001100101\n",
      "18 3\n",
      "010011110111011101\n",
      "10 4\n",
      "1101110001\n",
      "11 2\n",
      "10001101111\n",
      "20 3\n",
      "11001000110010101000\n",
      "18 3\n",
      "100110001110000111\n",
      "16 1\n",
      "0011110100101001\n",
      "3 4\n",
      "010\n",
      "6 3\n",
      "010110\n",
      "11 2\n",
      "00011000011\n",
      "4 1\n",
      "1000\n",
      "16 3\n",
      "1100000110001101\n",
      "2 4\n",
      "10\n",
      "17 4\n",
      "01011101010001011\n",
      "15 1\n",
      "010011110011101\n",
      "3 4\n",
      "110\n",
      "12 3\n",
      "000111111000\n",
      "4 3\n",
      "0001\n",
      "14 2\n",
      "10011001010111\n",
      "15 4\n",
      "111100001101011\n",
      "14 4\n",
      "10100111111101\n",
      "11 1\n",
      "01101000100\n",
      "2 4\n",
      "10\n",
      "15 2\n",
      "101011101111101\n",
      "18 1\n",
      "110011100001001111\n",
      "20 4\n",
      "11111100010111011011\n",
      "17 3\n",
      "11101001010111110\n",
      "14 3\n",
      "00000010001101\n",
      "3 1\n",
      "010\n",
      "11 3\n",
      "11000011100\n",
      "3 1\n",
      "011\n",
      "6 1\n",
      "110110\n",
      "7 4\n",
      "0100011\n",
      "13 2\n",
      "1000011111101\n",
      "4 3\n",
      "1000\n",
      "17 2\n",
      "11000110000101010\n",
      "12 4\n",
      "010010010010\n",
      "11 1\n",
      "01110000111\n",
      "13 3\n",
      "0000101101111\n",
      "17 3\n",
      "00010111110100101\n",
      "9 2\n",
      "100010000\n",
      "12 1\n",
      "110011001001\n",
      "16 2\n",
      "0010010111111001\n",
      "12 1\n",
      "001010000101\n",
      "5 4\n",
      "01111\n",
      "3 4\n",
      "010\n",
      "9 4\n",
      "000001011\n",
      "5 4\n",
      "01101\n",
      "2 1\n",
      "10\n",
      "11 2\n",
      "01011111000\n",
      "12 2\n",
      "111000101111\n",
      "4 3\n",
      "0011\n",
      "12 3\n",
      "101110011111\n",
      "14 4\n",
      "10110011011100\n",
      "3 4\n",
      "101\n",
      "16 2\n",
      "0100011101000101\n",
      "12 4\n",
      "001110011011\n",
      "15 2\n",
      "011010101010101\n",
      "3 3\n",
      "111\n",
      "16 3\n",
      "1110001111111001\n",
      "12 2\n",
      "100011101000\n",
      "5 2\n",
      "00011\n",
      "7 2\n",
      "1010111\n",
      "8 3\n",
      "10000110\n",
      "16 3\n",
      "1000110101011110\n",
      "8 3\n",
      "11001111\n",
      "2 4\n",
      "10\n",
      "18 1\n",
      "110110111010000111\n",
      "11 1\n",
      "00011011000\n",
      "3 4\n",
      "110\n",
      "18 3\n",
      "011010011000011000\n",
      "15 4\n",
      "001110010111010\n",
      "15 2\n",
      "011000000011001\n",
      "12 1\n",
      "010101111100\n",
      "15 2\n",
      "001001111001000\n",
      "18 3\n",
      "100101101101010001\n",
      "9 3\n",
      "010111100\n",
      "14 2\n",
      "00101011100000\n",
      "2 3\n",
      "10\n",
      "18 1\n",
      "101011000110001101\n",
      "15 4\n",
      "001010111101001\n",
      "3 1\n",
      "011\n",
      "4 3\n",
      "0101\n",
      "20 1\n",
      "10001011001110101001\n",
      "19 2\n",
      "0101110100000101011\n",
      "15 1\n",
      "101110011000011\n",
      "6 1\n",
      "011110\n",
      "2 2\n",
      "01\n",
      "11 2\n",
      "00000001111\n",
      "17 1\n",
      "00111101011101111\n",
      "5 3\n",
      "10110\n",
      "4 2\n",
      "1000\n",
      "20 3\n",
      "11111110001001111000\n",
      "6 4\n",
      "011111\n",
      "6 4\n",
      "001001\n",
      "20 2\n",
      "11010110000011111101\n",
      "15 2\n",
      "110011010001011\n",
      "6 2\n",
      "001110\n",
      "16 4\n",
      "1011101101110100\n",
      "20 4\n",
      "10101100010111000111\n",
      "18 1\n",
      "000010101011000000\n",
      "4 3\n",
      "0110\n",
      "8 3\n",
      "00010001\n",
      "9 4\n",
      "011011000\n",
      "9 4\n",
      "010000011\n",
      "17 3\n",
      "10111011000010101\n",
      "4 2\n",
      "1001\n",
      "2 2\n",
      "11\n",
      "14 3\n",
      "10100111111101\n",
      "12 3\n",
      "000011111111\n",
      "17 4\n",
      "10001000101011000\n",
      "19 3\n",
      "0101101110011110101\n",
      "13 1\n",
      "1101110100000\n",
      "8 2\n",
      "10001111\n",
      "2 4\n",
      "00\n",
      "6 2\n",
      "111100\n",
      "3 4\n",
      "010\n",
      "6 2\n",
      "100010\n",
      "8 2\n",
      "01110100\n",
      "16 4\n",
      "0110010010011110\n",
      "10 3\n",
      "1010100111\n",
      "12 1\n",
      "111010010110\n",
      "14 4\n",
      "10100010110001\n",
      "20 2\n",
      "11101010011000001000\n",
      "10 4\n",
      "0011111100\n",
      "5 1\n",
      "00101\n",
      "13 1\n",
      "1110110111001\n",
      "4 2\n",
      "0001\n",
      "19 4\n",
      "0011100101111000110\n",
      "15 2\n",
      "001011100000001\n",
      "17 2\n",
      "00001010101011111\n",
      "18 1\n",
      "011010111101110101\n",
      "2 1\n",
      "01\n",
      "8 1\n",
      "10111101\n",
      "7 1\n",
      "1001100\n",
      "13 4\n",
      "0010000111010\n",
      "9 3\n",
      "011011111\n",
      "4 4\n",
      "1011\n",
      "7 2\n",
      "0001000\n",
      "2 1\n",
      "01\n",
      "11 1\n",
      "00001011110\n",
      "16 4\n",
      "1110001000010000\n",
      "12 3\n",
      "101110100000\n",
      "11 4\n",
      "10010101001\n",
      "6 1\n",
      "010010\n",
      "10 3\n",
      "1100110101\n",
      "18 3\n",
      "011110000011110110\n",
      "11 1\n",
      "01111010100\n",
      "3 2\n",
      "110\n",
      "9 2\n",
      "000011001\n",
      "15 4\n",
      "001100100001001\n",
      "18 1\n",
      "100011101011101100\n",
      "6 1\n",
      "000011\n",
      "20 1\n",
      "01100001111001111101\n",
      "17 1\n",
      "00111110011100000\n",
      "10 2\n",
      "0001110010\n",
      "16 3\n",
      "1001000101010010\n",
      "14 3\n",
      "10000100011001\n",
      "17 4\n",
      "00010010010000111\n",
      "20 4\n",
      "00011010011010100101\n",
      "8 3\n",
      "11011011\n",
      "15 1\n",
      "100111100111110\n",
      "18 4\n",
      "001111000001111010\n",
      "6 3\n",
      "000001\n",
      "13 4\n",
      "1101101011010\n",
      "9 2\n",
      "001100000\n",
      "14 4\n",
      "00001100011111\n",
      "19 1\n",
      "0101000000101111001\n",
      "13 4\n",
      "0110110100011\n",
      "16 4\n",
      "0001110111111010\n",
      "11 3\n",
      "00110100001\n",
      "18 3\n",
      "101011001110101100\n",
      "9 1\n",
      "100011011\n",
      "13 2\n",
      "0100001001001\n",
      "11 3\n",
      "01111110000\n",
      "11 1\n",
      "10110010101\n",
      "6 2\n",
      "101100\n",
      "2 2\n",
      "01\n",
      "8 2\n",
      "01100010\n",
      "16 1\n",
      "1001001111100001\n",
      "4 1\n",
      "0111\n",
      "11 1\n",
      "00101010010\n",
      "10 1\n",
      "1101011010\n",
      "4 4\n",
      "0110\n",
      "19 1\n",
      "1111101010100110001\n",
      "16 3\n",
      "1100100101010110\n",
      "19 2\n",
      "0111100110011100001\n",
      "14 1\n",
      "10110101011100\n",
      "14 4\n",
      "10001000100110\n",
      "6 1\n",
      "111100\n",
      "12 2\n",
      "011110101011\n",
      "6 3\n",
      "101110\n",
      "2 1\n",
      "01\n",
      "7 4\n",
      "1110010\n",
      "16 4\n",
      "1111100101001100\n",
      "18 2\n",
      "101111001000000001\n",
      "3 2\n",
      "011\n",
      "13 3\n",
      "1101011100000\n",
      "14 1\n",
      "10101001101110\n",
      "18 2\n",
      "011101111011001100\n",
      "18 2\n",
      "010010010101000110\n",
      "4 2\n",
      "0100\n",
      "14 3\n",
      "00101001111000\n",
      "2 3\n",
      "10\n",
      "18 2\n",
      "101000110100100000\n",
      "17 3\n",
      "01100101100000010\n",
      "13 3\n",
      "0111110100111\n",
      "5 1\n",
      "10100\n",
      "15 3\n",
      "010101100000111\n",
      "17 2\n",
      "01011111010101111\n",
      "18 3\n",
      "001110111001010011\n",
      "5 2\n",
      "01111\n",
      "18 1\n",
      "101100000101111101\n",
      "13 4\n",
      "1100011101001\n",
      "20 4\n",
      "01110110110001111000\n",
      "19 4\n",
      "0001001101110001110\n",
      "20 4\n",
      "11010101100111111001\n",
      "14 1\n",
      "11111011010110\n",
      "10 2\n",
      "1010110011\n",
      "12 3\n",
      "011111011011\n",
      "16 4\n",
      "0101000110010100\n",
      "15 4\n",
      "100111100001110\n",
      "5 3\n",
      "10010\n",
      "12 1\n",
      "100110110111\n",
      "4 3\n",
      "0000\n",
      "15 1\n",
      "110110001000111\n",
      "17 3\n",
      "00011110101001011\n",
      "2 1\n",
      "00\n",
      "4 3\n",
      "0110\n",
      "13 3\n",
      "1000000010110\n",
      "17 2\n",
      "00100010101000111\n",
      "18 4\n",
      "111010001110101000\n",
      "17 3\n",
      "00011101000000111\n",
      "16 1\n",
      "0100100010010111\n",
      "14 3\n",
      "01110011010100\n",
      "20 1\n",
      "10110010100010111100\n",
      "8 2\n",
      "00101101\n",
      "18 4\n",
      "101001011000111000\n",
      "14 4\n",
      "01011000101101\n",
      "15 2\n",
      "001000000000011\n",
      "2 1\n",
      "00\n",
      "8 2\n",
      "10011101\n",
      "5 3\n",
      "00001\n",
      "15 4\n",
      "000101100100011\n",
      "12 1\n",
      "001111011001\n",
      "15 3\n",
      "101000111011000\n",
      "19 4\n",
      "0100010111110101010\n",
      "7 4\n",
      "1010111\n",
      "5 1\n",
      "10111\n",
      "15 4\n",
      "000100011001110\n",
      "13 1\n",
      "0011000010111\n",
      "15 2\n",
      "111110000001111\n",
      "17 1\n",
      "11100101101010000\n",
      "17 4\n",
      "11010000111111000\n",
      "3 1\n",
      "110\n",
      "14 1\n",
      "10111111001100\n",
      "16 2\n",
      "1100011100001011\n",
      "11 4\n",
      "10101010010\n",
      "17 2\n",
      "01111110001001100\n",
      "10 4\n",
      "0101101011\n",
      "14 1\n",
      "00101111010011\n",
      "20 2\n",
      "10100110010100101010\n",
      "12 2\n",
      "100100011010\n",
      "17 1\n",
      "11001010011110101\n",
      "11 2\n",
      "11001010001\n",
      "3 3\n",
      "010\n",
      "13 2\n",
      "0000000011101\n",
      "10 2\n",
      "1100101101\n",
      "19 4\n",
      "1100101001110110100\n",
      "5 2\n",
      "01000\n",
      "2 4\n",
      "00\n",
      "7 4\n",
      "0010100\n",
      "14 3\n",
      "01001100100101\n",
      "20 1\n",
      "10011110010111010010\n",
      "5 3\n",
      "01001\n",
      "7 2\n",
      "1101001\n",
      "15 1\n",
      "100010001100001\n",
      "8 4\n",
      "10010101\n",
      "15 2\n",
      "010111010111001\n",
      "5 1\n",
      "10111\n",
      "8 1\n",
      "00001101\n",
      "11 3\n",
      "10110011000\n",
      "8 1\n",
      "11010010\n",
      "15 4\n",
      "001010000010110\n",
      "12 4\n",
      "010111001100\n",
      "7 3\n",
      "0111100\n",
      "9 4\n",
      "011011001\n",
      "8 1\n",
      "01110110\n",
      "16 4\n",
      "1101001100000100\n",
      "20 1\n",
      "11000010000011100110\n",
      "16 3\n",
      "1100001101110111\n",
      "13 3\n",
      "0110101000010\n",
      "11 2\n",
      "11100101100\n",
      "6 2\n",
      "011010\n",
      "6 1\n",
      "010100\n",
      "3 1\n",
      "011\n",
      "18 3\n",
      "010010101100111010\n",
      "10 1\n",
      "1011110111\n",
      "5 1\n",
      "10010\n",
      "12 3\n",
      "100000001011\n",
      "15 3\n",
      "011110011010000\n",
      "7 3\n",
      "0010110\n",
      "13 2\n",
      "0011010001010\n",
      "7 3\n",
      "0111110\n",
      "3 1\n",
      "111\n",
      "20 3\n",
      "00010000111111111111\n",
      "5 1\n",
      "10011\n",
      "14 1\n",
      "01001001100011\n",
      "18 4\n",
      "101011010010001010\n",
      "9 2\n",
      "000111000\n",
      "7 1\n",
      "1010100\n",
      "14 1\n",
      "00101101010100\n",
      "16 3\n",
      "0000101010111011\n",
      "8 2\n",
      "01000000\n",
      "5 4\n",
      "11001\n",
      "16 4\n",
      "0011011011110011\n",
      "5 3\n",
      "11101\n",
      "18 1\n",
      "101011100011001110\n",
      "2 4\n",
      "11\n",
      "13 2\n",
      "0001011000100\n",
      "20 1\n",
      "01001111100000110100\n",
      "10 2\n",
      "0101100000\n",
      "13 4\n",
      "0011010101111\n",
      "8 3\n",
      "11100000\n",
      "18 2\n",
      "011010011000001110\n",
      "4 1\n",
      "0010\n",
      "11 1\n",
      "11010101111\n",
      "8 3\n",
      "10101000\n",
      "6 1\n",
      "010000\n",
      "15 2\n",
      "110100001111110\n",
      "11 1\n",
      "10000011001\n",
      "15 2\n",
      "110010111000000\n",
      "3 2\n",
      "010\n",
      "11 1\n",
      "01000001110\n",
      "3 2\n",
      "111\n",
      "4 3\n",
      "1101\n",
      "2 1\n",
      "10\n",
      "2 1\n",
      "01\n",
      "6 3\n",
      "001111\n",
      "8 3\n",
      "01100010\n",
      "17 3\n",
      "01010101100011111\n",
      "8 4\n",
      "00100110\n",
      "9 1\n",
      "100010100\n",
      "14 1\n",
      "00011010011001\n",
      "17 2\n",
      "11100001000110100\n",
      "3 4\n",
      "010\n",
      "13 3\n",
      "1110111001100\n",
      "4 2\n",
      "0001\n",
      "5 3\n",
      "00111\n",
      "5 4\n",
      "01011\n",
      "10 1\n",
      "0101010111\n",
      "7 1\n",
      "0001111\n",
      "11 2\n",
      "11001011110\n",
      "2 3\n",
      "10\n",
      "14 3\n",
      "10110101110000\n",
      "3 2\n",
      "011\n",
      "19 1\n",
      "0101111001010100110\n",
      "2 2\n",
      "11\n",
      "5 4\n",
      "11100\n",
      "11 3\n",
      "00101001101\n",
      "14 1\n",
      "11101111010000\n",
      "9 2\n",
      "001001000\n",
      "2 1\n",
      "01\n",
      "16 3\n",
      "1011100001011000\n",
      "19 4\n",
      "0010100011100100010\n",
      "16 1\n",
      "1011000001111011\n",
      "2 1\n",
      "10\n",
      "16 1\n",
      "0111110010001010\n",
      "5 2\n",
      "00000\n",
      "19 4\n",
      "1011010010001001100\n",
      "17 1\n",
      "11101100111000011\n",
      "13 3\n",
      "0100101010001\n",
      "3 4\n",
      "000\n",
      "8 2\n",
      "01100000\n",
      "14 2\n",
      "00101010010000\n",
      "2 3\n",
      "11\n",
      "4 1\n",
      "1011\n",
      "13 3\n",
      "1110111000100\n",
      "20 3\n",
      "00111001111000111111\n",
      "12 4\n",
      "001100111011\n",
      "7 3\n",
      "1110010\n",
      "14 4\n",
      "00100110100110\n",
      "14 2\n",
      "10001001000010\n",
      "20 3\n",
      "00001011101100010101\n",
      "17 2\n",
      "00001110101011001\n",
      "10 2\n",
      "0001010011\n",
      "9 3\n",
      "110101101\n",
      "6 3\n",
      "011011\n",
      "14 3\n",
      "00011010010001\n",
      "12 4\n",
      "000110111111\n",
      "9 1\n",
      "001110011\n",
      "7 4\n",
      "1000000\n",
      "14 4\n",
      "10001000111010\n",
      "11 2\n",
      "10100010110\n",
      "14 1\n",
      "10000111110011\n",
      "8 4\n",
      "10110101\n",
      "8 4\n",
      "10110110\n",
      "13 2\n",
      "0111001110001\n",
      "3 4\n",
      "100\n",
      "12 4\n",
      "001100000100\n",
      "15 4\n",
      "000110010001101\n",
      "5 3\n",
      "00010\n",
      "13 1\n",
      "1110001100111\n",
      "3 3\n",
      "001\n",
      "12 4\n",
      "111101001101\n",
      "9 3\n",
      "101001010\n",
      "3 3\n",
      "100\n",
      "16 1\n",
      "1111111111000000\n",
      "7 1\n",
      "1001101\n",
      "6 2\n",
      "101111\n",
      "5 1\n",
      "10111\n",
      "2 2\n",
      "11\n",
      "12 4\n",
      "100111011111\n",
      "12 2\n",
      "010101110001\n",
      "10 1\n",
      "1001001110\n",
      "14 4\n",
      "11000011011010\n",
      "7 4\n",
      "0100011\n",
      "2 3\n",
      "11\n",
      "12 2\n",
      "101000000110\n",
      "2 1\n",
      "00\n",
      "9 1\n",
      "001001000\n",
      "14 1\n",
      "10110111101000\n",
      "11 4\n",
      "10010101101\n",
      "5 4\n",
      "10011\n",
      "16 1\n",
      "0001011010001111\n",
      "15 2\n",
      "100111110000010\n",
      "11 3\n",
      "10100011000\n",
      "17 1\n",
      "11110111001110101\n",
      "16 1\n",
      "0101000110011001\n",
      "4 1\n",
      "1001\n",
      "14 2\n",
      "10000101110100\n",
      "16 4\n",
      "0100101000011100\n",
      "10 1\n",
      "0000010110\n",
      "12 2\n",
      "100011010111\n",
      "14 4\n",
      "11000000110110\n",
      "16 3\n",
      "0110100011101110\n",
      "15 3\n",
      "101101101101000\n",
      "4 1\n",
      "1011\n",
      "20 4\n",
      "10011100001001001110\n",
      "20 3\n",
      "11101100100001110011\n",
      "11 2\n",
      "00001101100\n",
      "11 2\n",
      "11101011100\n",
      "18 1\n",
      "010101001100101110\n",
      "12 2\n",
      "001100111110\n",
      "11 4\n",
      "00001111111\n",
      "2 3\n",
      "10\n",
      "16 2\n",
      "0100001101010000\n",
      "4 1\n",
      "1110\n",
      "6 3\n",
      "011101\n",
      "7 4\n",
      "0010111\n",
      "14 3\n",
      "01001100010111\n",
      "15 1\n",
      "110101011111110\n",
      "2 4\n",
      "10\n",
      "11 2\n",
      "10001001010\n",
      "6 3\n",
      "010000\n",
      "17 3\n",
      "11010110101001101\n",
      "10 2\n",
      "1011111010\n",
      "17 4\n",
      "00101001111011110\n",
      "12 1\n",
      "100110111001\n",
      "19 3\n",
      "1011010111111011110\n",
      "10 4\n",
      "0100111001\n",
      "5 2\n",
      "01001\n",
      "11 3\n",
      "10111110010\n",
      "9 4\n",
      "101011000\n",
      "2 2\n",
      "00\n",
      "8 4\n",
      "01111001\n",
      "9 3\n",
      "010011100\n",
      "8 1\n",
      "01100110\n",
      "9 4\n",
      "000011100\n",
      "9 2\n",
      "011010110\n",
      "7 4\n",
      "1000010\n",
      "6 2\n",
      "001011\n",
      "9 2\n",
      "011000111\n",
      "5 4\n",
      "00010\n",
      "15 4\n",
      "010111110101111\n",
      "17 2\n",
      "10001111111011111\n",
      "19 3\n",
      "1001010101100011110\n",
      "10 4\n",
      "1101011110\n",
      "10 2\n",
      "0011101101\n",
      "2 3\n",
      "01\n",
      "11 4\n",
      "10010011011\n",
      "18 1\n",
      "010111111111000010\n",
      "12 4\n",
      "000000110000\n",
      "15 4\n",
      "110010000100000\n",
      "7 4\n",
      "0110001\n",
      "9 3\n",
      "110100001\n",
      "12 1\n",
      "001001110000\n",
      "2 1\n",
      "10\n",
      "6 1\n",
      "101100\n",
      "17 2\n",
      "01100111010111100\n",
      "11 2\n",
      "00110000100\n",
      "8 2\n",
      "00111011\n",
      "12 2\n",
      "111110110000\n",
      "14 2\n",
      "00101010011010\n",
      "12 3\n",
      "101000010100\n",
      "16 2\n",
      "1100000000001101\n",
      "12 1\n",
      "110011111001\n",
      "16 1\n",
      "1100110111011111\n",
      "2 3\n",
      "11\n",
      "14 1\n",
      "11111001111101\n",
      "19 3\n",
      "0001101100100000011\n",
      "11 3\n",
      "00101001111\n",
      "4 3\n",
      "1110\n",
      "9 1\n",
      "111101001\n",
      "13 4\n",
      "1111111110100\n",
      "4 3\n",
      "0111\n",
      "9 1\n",
      "110001000\n",
      "13 3\n",
      "1011110000001\n",
      "12 1\n",
      "011100001001\n",
      "7 1\n",
      "1001110\n",
      "3 4\n",
      "010\n",
      "16 3\n",
      "0101100010100101\n",
      "16 1\n",
      "1110101010011011\n",
      "14 1\n",
      "11111101001011\n",
      "6 1\n",
      "001010\n",
      "11 1\n",
      "00000110010\n",
      "13 4\n",
      "0110110011110\n",
      "9 1\n",
      "000110001\n",
      "18 2\n",
      "100000000101111110\n",
      "13 3\n",
      "1110010100101\n",
      "12 3\n",
      "111001111110\n",
      "3 4\n",
      "011\n",
      "7 4\n",
      "1100001\n",
      "9 4\n",
      "001010001\n",
      "2 4\n",
      "10\n",
      "19 4\n",
      "0011110100100111010\n",
      "15 1\n",
      "101101000111110\n",
      "8 2\n",
      "01011111\n",
      "6 4\n",
      "110001\n",
      "2 2\n",
      "10\n",
      "5 3\n",
      "01001\n",
      "14 2\n",
      "11001011001011\n",
      "10 2\n",
      "0101000010\n",
      "12 3\n",
      "011000101010\n",
      "6 1\n",
      "110011\n",
      "5 1\n",
      "00110\n",
      "13 3\n",
      "1111011100011\n",
      "6 4\n",
      "011000\n",
      "14 2\n",
      "10010101100010\n",
      "8 4\n",
      "00100011\n",
      "9 1\n",
      "110111010\n",
      "5 1\n",
      "01000\n",
      "7 4\n",
      "1001000\n",
      "16 2\n",
      "0101001001010101\n",
      "6 4\n",
      "000011\n",
      "13 1\n",
      "0001011001010\n",
      "10 2\n",
      "0101101000\n",
      "14 1\n",
      "11101000100110\n",
      "12 4\n",
      "110110011111\n",
      "10 4\n",
      "1000100001\n",
      "4 1\n",
      "1100\n",
      "20 4\n",
      "01110001110110110101\n",
      "7 2\n",
      "1101111\n",
      "14 4\n",
      "01100001001111\n",
      "8 3\n",
      "01100010\n",
      "16 1\n",
      "0110100101011111\n",
      "9 2\n",
      "000010110\n",
      "8 4\n",
      "00010100\n",
      "6 4\n",
      "000111\n",
      "8 3\n",
      "00001110\n",
      "20 4\n",
      "01110111000001011010\n",
      "10 2\n",
      "1010111101\n",
      "15 1\n",
      "000011011011001\n",
      "17 2\n",
      "00111111010010011\n",
      "4 4\n",
      "1101\n",
      "19 4\n",
      "1100000100100101101\n",
      "5 4\n",
      "01100\n",
      "2 1\n",
      "00\n",
      "7 1\n",
      "1101101\n",
      "10 4\n",
      "1110000111\n",
      "5 4\n",
      "10101\n",
      "5 4\n",
      "10110\n",
      "7 4\n",
      "0011010\n",
      "3 1\n",
      "001\n",
      "5 1\n",
      "00011\n",
      "4 4\n",
      "1100\n",
      "11 4\n",
      "11101111010\n",
      "17 3\n",
      "01101000110000111\n",
      "19 2\n",
      "1010000110110111110\n",
      "5 3\n",
      "00111\n",
      "20 2\n",
      "11000110100000100110\n",
      "5 2\n",
      "00100\n",
      "15 3\n",
      "110100011000011\n",
      "19 3\n",
      "1011000000100000000\n",
      "7 2\n",
      "0001111\n",
      "14 1\n",
      "01110101111011\n",
      "7 4\n",
      "1101010\n",
      "8 4\n",
      "01011010\n",
      "8 1\n",
      "01101000\n",
      "17 1\n",
      "10000010001000011\n",
      "18 2\n",
      "000000100101011110\n",
      "11 2\n",
      "10010001001\n",
      "16 1\n",
      "1000001111011110\n",
      "5 1\n",
      "00111\n",
      "17 2\n",
      "11010010101011100\n",
      "6 1\n",
      "101001\n",
      "3 4\n",
      "011\n",
      "11 2\n",
      "11110010101\n",
      "18 1\n",
      "010100011010010000\n",
      "8 4\n",
      "00100100\n",
      "11 3\n",
      "01101010111\n",
      "14 2\n",
      "01100100001010\n",
      "7 2\n",
      "1010000\n",
      "14 4\n",
      "00011111001101\n",
      "20 2\n",
      "10101101101001101101\n",
      "12 1\n",
      "111011001111\n",
      "3 2\n",
      "001\n",
      "11 2\n",
      "11001000101\n",
      "9 4\n",
      "110011111\n",
      "9 2\n",
      "010101001\n",
      "2 2\n",
      "10\n",
      "4 2\n",
      "1010\n",
      "6 4\n",
      "101001\n",
      "9 2\n",
      "111001001\n",
      "10 1\n",
      "1111010000\n",
      "6 2\n",
      "001100\n",
      "7 3\n",
      "0001001\n",
      "15 4\n",
      "011011001100000\n",
      "11 1\n",
      "11100111010\n",
      "14 3\n",
      "10111001100011\n",
      "9 2\n",
      "000110001\n",
      "19 2\n",
      "1000111110110111001\n",
      "9 2\n",
      "000101111\n",
      "5 3\n",
      "10100\n",
      "20 1\n",
      "01010111111000001010\n",
      "17 4\n",
      "10001110101000001\n",
      "6 2\n",
      "000001\n",
      "4 3\n",
      "0111\n",
      "15 2\n",
      "111010101011111\n",
      "4 1\n",
      "1111\n",
      "3 2\n",
      "101\n",
      "17 3\n",
      "01110001110010100\n",
      "4 1\n",
      "1110\n",
      "11 1\n",
      "00000011100\n",
      "8 4\n",
      "10110101\n",
      "6 1\n",
      "101010\n",
      "2 1\n",
      "11\n",
      "12 4\n",
      "010110001111\n",
      "19 3\n",
      "0001110011011001110\n",
      "9 3\n",
      "100001000\n",
      "13 4\n",
      "0100010011010\n",
      "11 2\n",
      "10111110000\n",
      "20 2\n",
      "11010010100001010110\n",
      "15 3\n",
      "010101011001100\n",
      "12 2\n",
      "101101111100\n",
      "5 2\n",
      "10111\n",
      "14 3\n",
      "00001010011011\n",
      "7 2\n",
      "1000111\n",
      "8 3\n",
      "10001000\n",
      "20 4\n",
      "01001010110010011101\n",
      "13 4\n",
      "0010001111100\n",
      "2 3\n",
      "11\n",
      "15 4\n",
      "010011100111111\n",
      "15 3\n",
      "011001100111001\n",
      "3 2\n",
      "110\n",
      "16 1\n",
      "1110101101000000\n",
      "6 4\n",
      "011110\n",
      "10 3\n",
      "0000001110\n",
      "16 4\n",
      "0000011001010010\n",
      "2 2\n",
      "10\n",
      "20 2\n",
      "11011001111111100001\n",
      "10 4\n",
      "1010011100\n",
      "6 1\n",
      "110110\n",
      "8 4\n",
      "10100100\n",
      "10 4\n",
      "1100011001\n",
      "8 2\n",
      "01001110\n",
      "17 1\n",
      "01111010001010000\n",
      "13 2\n",
      "1101010011010\n",
      "7 3\n",
      "1111000\n",
      "6 3\n",
      "001100\n",
      "7 2\n",
      "1100101\n",
      "6 4\n",
      "010101\n",
      "15 1\n",
      "011110110110100\n",
      "17 1\n",
      "11111111101100100\n",
      "11 1\n",
      "01011010110\n",
      "10 2\n",
      "0100101100\n",
      "5 1\n",
      "11110\n",
      "13 1\n",
      "1110011101110\n",
      "15 1\n",
      "000000101111011\n",
      "20 3\n",
      "00010011100110100110\n",
      "7 2\n",
      "0101100\n",
      "14 1\n",
      "00011010011000\n",
      "10 3\n",
      "1010010110\n",
      "20 2\n",
      "00100101001111110110\n",
      "8 2\n",
      "10011100\n",
      "18 1\n",
      "000100100000110101\n",
      "2 3\n",
      "11\n",
      "15 2\n",
      "010010100101000\n",
      "9 2\n",
      "011010011\n",
      "6 1\n",
      "011010\n",
      "12 1\n",
      "011010110000\n",
      "13 1\n",
      "1000010110001\n",
      "18 3\n",
      "011001101000011100\n",
      "9 3\n",
      "010011111\n",
      "13 2\n",
      "0111011011001\n",
      "6 1\n",
      "111000\n",
      "6 4\n",
      "110001\n",
      "14 4\n",
      "10000010111110\n",
      "17 2\n",
      "10101000011001010\n",
      "16 2\n",
      "0111010101110000\n",
      "19 3\n",
      "0001001100001010010\n",
      "9 4\n",
      "111110011\n",
      "16 4\n",
      "1110101100010001\n",
      "15 3\n",
      "010111110001110\n",
      "19 2\n",
      "0100100101110001101\n",
      "17 2\n",
      "01100011000100010\n",
      "2 4\n",
      "11\n",
      "3 1\n",
      "011\n",
      "10 4\n",
      "1111110111\n",
      "20 4\n",
      "11011011110110001111\n",
      "9 4\n",
      "001000101\n",
      "18 4\n",
      "010110000010010111\n",
      "8 4\n",
      "01100100\n",
      "19 1\n",
      "1100010100111111100\n",
      "13 3\n",
      "1100101100101\n",
      "16 3\n",
      "1111101000100011\n",
      "19 4\n",
      "0000101011110101001\n",
      "4 4\n",
      "0100\n",
      "2 2\n",
      "01\n",
      "10 2\n",
      "1101000111\n",
      "19 1\n",
      "0010100110001001011\n",
      "8 3\n",
      "11100111\n",
      "19 2\n",
      "1010111101100110010\n",
      "17 2\n",
      "11000011011001100\n",
      "8 4\n",
      "11111000\n",
      "5 3\n",
      "00101\n",
      "7 2\n",
      "0011101\n",
      "5 1\n",
      "01111\n",
      "20 1\n",
      "10110011001011011000\n",
      "18 4\n",
      "110010011111101001\n",
      "12 1\n",
      "010010100111\n",
      "18 2\n",
      "010110111010011100\n",
      "11 4\n",
      "11011010110\n",
      "10 4\n",
      "1000101000\n",
      "18 4\n",
      "011000110011011100\n",
      "15 2\n",
      "100010100011100\n",
      "20 1\n",
      "11110101010010010100\n",
      "12 2\n",
      "011110000000\n",
      "7 3\n",
      "1111100\n",
      "10 2\n",
      "0101010000\n",
      "12 1\n",
      "010010101001\n",
      "15 2\n",
      "010000111000000\n",
      "15 1\n",
      "100011101100001\n",
      "17 3\n",
      "00100111110011000\n",
      "20 4\n",
      "00101001011110100100\n",
      "8 4\n",
      "00001101\n",
      "2 3\n",
      "10\n",
      "15 2\n",
      "101011000011101\n",
      "4 3\n",
      "0101\n",
      "15 4\n",
      "001110011010011\n",
      "20 4\n",
      "00100001111011010000\n",
      "3 2\n",
      "011\n",
      "4 2\n",
      "1011\n",
      "10 2\n",
      "0111110111\n",
      "7 3\n",
      "0010101\n",
      "3 2\n",
      "110\n",
      "5 4\n",
      "11010\n",
      "14 2\n",
      "00100001011011\n",
      "13 2\n",
      "0010100010110\n",
      "5 2\n",
      "01101\n",
      "11 2\n",
      "10011101110\n",
      "10 1\n",
      "0110111000\n",
      "6 4\n",
      "110011\n",
      "9 4\n",
      "011110001\n",
      "13 3\n",
      "0110001110011\n",
      "2 3\n",
      "00\n",
      "8 1\n",
      "10101001\n",
      "13 2\n",
      "0101010110101\n",
      "19 3\n",
      "1111100110100101111\n",
      "19 2\n",
      "0111001110111100011\n",
      "13 3\n",
      "0110100010101\n",
      "9 2\n",
      "111100011\n",
      "18 1\n",
      "001110110011110001\n",
      "10 4\n",
      "1100000011\n",
      "2 4\n",
      "10\n",
      "18 1\n",
      "110111100000101000\n",
      "2 2\n",
      "10\n",
      "3 2\n",
      "010\n",
      "3 4\n",
      "101\n",
      "3 1\n",
      "110\n",
      "19 3\n",
      "0000010100101011111\n",
      "8 2\n",
      "10101011\n",
      "3 3\n",
      "101\n",
      "5 2\n",
      "00110\n",
      "2 2\n",
      "11\n",
      "18 1\n",
      "111000001011010100\n",
      "8 3\n",
      "10011101\n",
      "6 1\n",
      "111100\n",
      "14 4\n",
      "11000011001111\n",
      "5 3\n",
      "00100\n",
      "13 4\n",
      "0000111110101\n",
      "10 4\n",
      "1010111000\n",
      "17 2\n",
      "00010110110001001\n",
      "17 3\n",
      "11011010010100001\n",
      "10 4\n",
      "0000110000\n",
      "7 2\n",
      "0010000\n",
      "5 1\n",
      "11101\n",
      "18 4\n",
      "100000100000110101\n",
      "13 4\n",
      "1100110100111\n",
      "20 1\n",
      "00001101011000001100\n",
      "9 2\n",
      "101110001\n",
      "6 1\n",
      "100010\n",
      "11 3\n",
      "11111110011\n",
      "10 1\n",
      "1110110010\n",
      "7 1\n",
      "0011010\n",
      "8 1\n",
      "10010101\n",
      "4 4\n",
      "0001\n",
      "6 4\n",
      "110011\n",
      "12 4\n",
      "110011010011\n",
      "3 4\n",
      "111\n",
      "12 4\n",
      "000010110111\n",
      "5 1\n",
      "00010\n",
      "3 1\n",
      "000\n",
      "10 3\n",
      "1101011111\n",
      "3 3\n",
      "000\n",
      "13 2\n",
      "0101101110001\n",
      "3 1\n",
      "110\n",
      "14 1\n",
      "01111000000100\n",
      "12 1\n",
      "010100001010\n",
      "4 3\n",
      "0010\n",
      "8 1\n",
      "01110011\n",
      "14 4\n",
      "00101000011011\n",
      "20 3\n",
      "11000011001001110010\n",
      "15 2\n",
      "111101101001100\n",
      "8 1\n",
      "11100011\n",
      "14 4\n",
      "11111101010100\n",
      "4 1\n",
      "0011\n",
      "6 3\n",
      "001011\n",
      "10 3\n",
      "1000001001\n",
      "18 3\n",
      "010110011101010101\n",
      "10 3\n",
      "0001000010\n",
      "15 1\n",
      "100001100001100\n",
      "7 2\n",
      "0000101\n",
      "8 4\n",
      "01010001\n",
      "4 1\n",
      "0101\n",
      "15 4\n",
      "010010011101011\n",
      "7 4\n",
      "0111101\n",
      "3 3\n",
      "001\n",
      "12 3\n",
      "011001001010\n",
      "5 1\n",
      "10000\n",
      "9 3\n",
      "101000011\n",
      "9 4\n",
      "001000001\n",
      "10 1\n",
      "0110000100\n",
      "4 4\n",
      "1001\n",
      "13 1\n",
      "1001001111110\n",
      "10 2\n",
      "0101100010\n",
      "15 2\n",
      "011000110011001\n",
      "19 2\n",
      "1111010010000011000\n",
      "18 4\n",
      "011010101000111111\n",
      "11 2\n",
      "00011010101\n",
      "17 2\n",
      "11001100000101011\n",
      "18 2\n",
      "101110001001001001\n",
      "7 4\n",
      "1011100\n",
      "16 3\n",
      "0001010001101110\n",
      "8 2\n",
      "11111110\n",
      "4 1\n",
      "1000\n",
      "4 1\n",
      "1110\n",
      "12 2\n",
      "100000101111\n",
      "13 3\n",
      "1100111010001\n",
      "5 1\n",
      "00000\n",
      "12 2\n",
      "111100100001\n",
      "20 4\n",
      "01011001101011101110\n",
      "5 2\n",
      "11001\n",
      "15 3\n",
      "000100101111110\n",
      "18 2\n",
      "001111100000111100\n",
      "9 4\n",
      "000011011\n",
      "11 4\n",
      "11011110010\n",
      "6 2\n",
      "110000\n",
      "8 2\n",
      "11110100\n",
      "3 2\n",
      "100\n",
      "5 1\n",
      "01101\n",
      "6 3\n",
      "011111\n",
      "4 4\n",
      "0110\n",
      "6 3\n",
      "000100\n",
      "12 2\n",
      "010111100000\n",
      "4 3\n",
      "1010\n",
      "13 1\n",
      "1000111110110\n",
      "12 2\n",
      "010111100011\n",
      "19 2\n",
      "1010101000011001001\n",
      "7 1\n",
      "1001011\n",
      "12 1\n",
      "101011111101\n",
      "18 3\n",
      "100100100000111101\n",
      "11 4\n",
      "11100000001\n",
      "10 2\n",
      "0010110001\n",
      "15 1\n",
      "100010110010001\n",
      "15 3\n",
      "100100001011001\n",
      "12 2\n",
      "111011000100\n",
      "14 3\n",
      "11000010111100\n",
      "20 3\n",
      "00000111011000000011\n",
      "7 3\n",
      "1101101\n",
      "19 1\n",
      "1000001100011101100\n",
      "2 3\n",
      "10\n",
      "14 1\n",
      "10011011011000\n",
      "3 3\n",
      "000\n",
      "11 4\n",
      "00001111101\n",
      "15 3\n",
      "111100010011000\n",
      "6 1\n",
      "011011\n",
      "6 2\n",
      "101001\n",
      "15 3\n",
      "011111101000101\n",
      "16 3\n",
      "0110101011000101\n",
      "10 2\n",
      "1110001000\n",
      "12 4\n",
      "011110110110\n",
      "17 2\n",
      "10111011100101011\n",
      "15 1\n",
      "110111110110110\n",
      "7 2\n",
      "1000010\n",
      "17 3\n",
      "11111000001011000\n",
      "18 4\n",
      "101001011010101100\n",
      "4 1\n",
      "1100\n",
      "12 2\n",
      "010000011111\n",
      "13 1\n",
      "1100110101111\n",
      "11 1\n",
      "00101101010\n",
      "6 1\n",
      "001011\n",
      "16 1\n",
      "0111000000101000\n",
      "6 2\n",
      "000000\n",
      "10 2\n",
      "0110011110\n",
      "9 1\n",
      "110111001\n",
      "2 1\n",
      "00\n",
      "10 2\n",
      "1100001100\n",
      "17 1\n",
      "11011100000010111\n",
      "16 1\n",
      "0001100010110101\n",
      "16 3\n",
      "1011110110000111\n",
      "7 1\n",
      "1111001\n",
      "8 1\n",
      "10011011\n",
      "15 4\n",
      "010111000111101\n",
      "18 2\n",
      "011111111101101101\n",
      "16 3\n",
      "0011001011001101\n",
      "15 4\n",
      "011011011111001\n",
      "3 2\n",
      "111\n",
      "20 1\n",
      "00010011001111100100\n",
      "10 3\n",
      "0000001111\n",
      "17 2\n",
      "11101111010111111\n",
      "4 1\n",
      "0101\n",
      "9 4\n",
      "011010010\n",
      "12 4\n",
      "101001000010\n",
      "14 1\n",
      "00110111000001\n",
      "6 4\n",
      "000101\n",
      "4 1\n",
      "1101\n",
      "14 4\n",
      "10011100010110\n",
      "2 3\n",
      "11\n",
      "14 3\n",
      "10101001000000\n",
      "14 1\n",
      "00111101101101\n",
      "19 3\n",
      "0001000010101011000\n",
      "4 3\n",
      "1000\n",
      "16 2\n",
      "1111100000010110\n",
      "14 1\n",
      "11111000100101\n",
      "3 2\n",
      "110\n",
      "17 2\n",
      "10100000000111001\n",
      "20 1\n",
      "00011111011000111110\n",
      "20 2\n",
      "00111100010010000010\n",
      "3 1\n",
      "101\n",
      "15 1\n",
      "101100100111111\n",
      "10 4\n",
      "0000111110\n",
      "20 4\n",
      "10110010001100011110\n",
      "19 3\n",
      "1100010100010000010\n",
      "12 1\n",
      "000110010101\n",
      "18 3\n",
      "111111101000011011\n",
      "4 4\n",
      "0111\n",
      "13 3\n",
      "0000010010110\n",
      "9 4\n",
      "000110001\n",
      "20 1\n",
      "11011111101011110001\n",
      "2 1\n",
      "11\n",
      "15 1\n",
      "001110001000110\n",
      "10 2\n",
      "0101010011\n",
      "13 1\n",
      "1111000100101\n",
      "2 1\n",
      "11\n",
      "13 2\n",
      "0110101001110\n",
      "12 2\n",
      "010010001011\n",
      "20 4\n",
      "01000111011011000101\n",
      "10 4\n",
      "1110010100\n",
      "10 3\n",
      "1110000111\n",
      "14 1\n",
      "10101011011100\n",
      "16 1\n",
      "1000101011000100\n",
      "4 2\n",
      "1100\n",
      "9 3\n",
      "001011010\n",
      "17 2\n",
      "10111111110110111\n",
      "11 1\n",
      "10111111010\n",
      "19 3\n",
      "0010101001010011000\n",
      "2 3\n",
      "10\n",
      "13 3\n",
      "0010111110001\n",
      "18 3\n",
      "010010010101100011\n",
      "8 4\n",
      "00011010\n",
      "15 4\n",
      "111001100011111\n",
      "17 2\n",
      "11001011001011011\n",
      "14 1\n",
      "01001101010110\n",
      "17 3\n",
      "10111001001010000\n",
      "12 4\n",
      "101000111000\n",
      "18 4\n",
      "110010111001010010\n",
      "14 2\n",
      "10101111001010\n",
      "15 3\n",
      "010011010011110\n",
      "12 2\n",
      "100001100011\n",
      "8 2\n",
      "00110011\n",
      "20 4\n",
      "01110111100010011011\n",
      "18 3\n",
      "110101010100101111\n",
      "2 4\n",
      "00\n",
      "15 2\n",
      "010110001011101\n",
      "2 3\n",
      "00\n",
      "10 4\n",
      "0100010110\n",
      "20 2\n",
      "01000000111110000110\n",
      "14 4\n",
      "01111110011110\n",
      "19 3\n",
      "1011101100001000101\n",
      "16 3\n",
      "1100100100010011\n",
      "13 4\n",
      "0101000110111\n",
      "18 2\n",
      "000001001100101000\n",
      "7 3\n",
      "0001101\n",
      "19 1\n",
      "1111100111010011101\n",
      "18 3\n",
      "101100101011100001\n",
      "2 2\n",
      "10\n",
      "13 2\n",
      "1010110000011\n",
      "16 3\n",
      "1110111010110100\n",
      "4 1\n",
      "0011\n",
      "10 2\n",
      "1000000011\n",
      "18 1\n",
      "011110011011101101\n",
      "17 2\n",
      "10111000000110011\n",
      "13 2\n",
      "1101001011110\n",
      "10 3\n",
      "0010011100\n",
      "18 3\n",
      "111010010011111011\n",
      "14 3\n",
      "01101100100010\n",
      "12 4\n",
      "101111110100\n",
      "7 3\n",
      "1101010\n",
      "17 3\n",
      "11111010111001010\n",
      "12 3\n",
      "000010101001\n",
      "18 3\n",
      "001101110100110101\n",
      "9 4\n",
      "110111010\n",
      "2 3\n",
      "00\n",
      "7 4\n",
      "0011000\n",
      "10 1\n",
      "0010110010\n",
      "9 3\n",
      "100001111\n",
      "9 2\n",
      "100101100\n",
      "13 2\n",
      "1011110110001\n",
      "6 4\n",
      "011110\n",
      "15 4\n",
      "011101100011001\n",
      "15 3\n",
      "001000010111110\n",
      "6 1\n",
      "000100\n",
      "19 4\n",
      "1110111010011011001\n",
      "14 4\n",
      "11110000001010\n",
      "3 1\n",
      "010\n",
      "6 3\n",
      "001011\n",
      "13 2\n",
      "1100100111010\n",
      "10 2\n",
      "1100011110\n",
      "7 1\n",
      "0000110\n",
      "7 3\n",
      "0101011\n",
      "4 3\n",
      "1111\n",
      "3 4\n",
      "111\n",
      "15 2\n",
      "101101101100010\n",
      "16 3\n",
      "1111010100011000\n",
      "18 2\n",
      "011001000101101100\n",
      "11 4\n",
      "10101000111\n",
      "19 4\n",
      "0000110111110100101\n",
      "16 1\n",
      "0101001011010000\n",
      "12 1\n",
      "000011000101\n",
      "3 4\n",
      "101\n",
      "9 1\n",
      "001111000\n",
      "12 2\n",
      "100100000011\n",
      "19 1\n",
      "0101001000101010001\n",
      "3 4\n",
      "010\n",
      "5 1\n",
      "01100\n",
      "5 3\n",
      "10001\n",
      "8 1\n",
      "10000011\n",
      "19 4\n",
      "0100100010101111010\n",
      "20 2\n",
      "10000001010001011110\n",
      "9 4\n",
      "111110001\n",
      "5 3\n",
      "00100\n",
      "19 3\n",
      "1101000010100111011\n",
      "18 1\n",
      "001011010011111100\n",
      "4 2\n",
      "0001\n",
      "11 4\n",
      "10100011110\n",
      "5 2\n",
      "11000\n",
      "16 3\n",
      "0101011010001100\n",
      "11 3\n",
      "11111001000\n",
      "5 4\n",
      "11010\n",
      "5 2\n",
      "11110\n",
      "17 2\n",
      "01011110101101010\n",
      "17 2\n",
      "10111101101010110\n",
      "11 1\n",
      "00001100001\n",
      "3 1\n",
      "001\n",
      "19 2\n",
      "0001100111101011010\n",
      "12 3\n",
      "100111101000\n",
      "12 2\n",
      "100001011101\n",
      "15 3\n",
      "110001001001010\n",
      "11 4\n",
      "01010100011\n",
      "12 3\n",
      "101010100010\n",
      "18 1\n",
      "101011101011101011\n",
      "5 3\n",
      "11111\n",
      "20 2\n",
      "10101011010001111000\n",
      "6 2\n",
      "011101\n",
      "9 1\n",
      "111101000\n",
      "16 1\n",
      "0110010010011111\n",
      "8 3\n",
      "00011101\n",
      "14 1\n",
      "11010101100111\n",
      "10 4\n",
      "1001111010\n",
      "11 4\n",
      "00101100000\n",
      "3 2\n",
      "101\n",
      "3 1\n",
      "000\n",
      "12 1\n",
      "000111001011\n",
      "17 4\n",
      "00001011101000100\n",
      "6 1\n",
      "111101\n",
      "5 1\n",
      "00110\n",
      "14 2\n",
      "01001101000111\n",
      "4 3\n",
      "1000\n",
      "18 1\n",
      "101001101100000100\n",
      "10 2\n",
      "1101000110\n",
      "15 4\n",
      "010110010000111\n",
      "15 2\n",
      "011000000011100\n",
      "13 1\n",
      "0011001011010\n",
      "3 2\n",
      "100\n",
      "19 4\n",
      "0110100001101011101\n"
     ]
    }
   ],
   "source": [
    "with open(\"10.in\", \"r\") as file:  # 打开文件，\"r\" 表示以只读模式打开\n",
    "    lines = file.readlines()  # 读取所有行，每一行作为一个字符串存储在列表中\n",
    "\n",
    "# 处理文件内容\n",
    "for line in lines:\n",
    "    print(line.strip())  # 使用 strip() 去掉行尾的换行符"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
